Question No: 1 ( Marks: 1 ) – Please choose one
Quantitative methods for assessing the quality of proposed architectural designs
are readily available.
► True
► False
Question No: 2 ( Marks: 1 ) – Please choose one
A decision table should be used_______________________
► to document all conditional statements
► to guide the development of the project management plan
► only when building an expert system
► when a complex set of conditions and actions appears in a component
Question No: 3 ( Marks: 1 ) – Please choose one
Test cases should be designed long before testing begins.
► True
► False
Question No: 4 ( Marks: 1 ) – Please choose one
Which of the following are characteristics of testable software?
► observability
► simplicity
► stability
► all of the given
Question No: 5 ( Marks: 1 ) – Please choose one
Comparison testing is typically done to test two competing products as part of
customer market analysis prior to product release.
► True
► False
Question No: 6 ( Marks: 1 ) – Please choose one
By collecting software metrics and making use of existing software reliability
models it is possible to develop meaningful guidelines for determining when software testing is done.
► True
► False
Question No: 7 ( Marks: 1 ) – Please choose one
Configuration reviews are not needed if regression testing has been rigorously applied during software integration.
► True
► False
If(!(block < activeBlock)) is equvivalent to.
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
Bit fields allow the packing of data in a structure. Using Bit fields we can.
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
The order in which bytes of one word are stored is _________ dependent.
HardwareSoftware
Language
Syntax
HardwareSoftware
Language
Syntax
In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Question No: 8 ( Marks: 1 ) – Please choose one
A change becomes ————- because of close presence of data and fucntions
► Localized
► Private
► Global
► Accessible
Question No: 9 ( Marks: 1 ) – Please choose one
Requirement engineering mainly deals with the ————– of the system
► definition phase
► development phase
► maintenance
► non of the above
Question No: 10 ( Marks: 1 ) – Please choose one
40-60% of all defects found in software projects can be traced back to poor ———–
► Requirements
► Design
► Coding
► Testing
Question No: 11 ( Marks: 1 ) – Please choose one
In the N-Tire Architecture the idea is to enhance scalability and ————– by distributing both the data and the application using multiple server machines.
► Performance
► Efficiency
► Usability
► non of the all
Question No: 12 ( Marks: 1 ) – Please choose one
MVC pattern was based on the ————— pattern.
► Observer
► Structural
► Behavioral
► Non of them
Question No: 13 ( Marks: 1 ) – Please choose one
Classes should be declared in individual header files with the file name matching the
———- name.
► class
► method
► object
► non of the all
Question No: 14 ( Marks: 1 ) – Please choose one
Unit testing is roughly equivalent to ———- testing for hardware in which each chip is tested
thoroughly after manufacturing
► Circuit level
► Chip Level
► component level
► system level
Question No: 15 ( Marks: 1 ) – Please choose one
Software should be tested more like hardware, with Built-in self testing: such that each unit can be tested ————-
► freely
► independently
► dependtly
► completely
Question No: 16 ( Marks: 1 ) – Please choose one
A system ————- is the period in which tremendous pressure is on developers end to fix the problem and make the system running again
► Uptime
► Downtime
► Currentime
► futuretimr
Question No: 17 ( Marks: 1 ) – Please choose one
Which one of the given below is not a symptom of memory overrun?
► Program crashes quite regularly after a given routine is called, that routine should be examined for a possible overrun condition.
► If the routine in question does not appear to have any such problem the most likely cause is that another routine, called in the prior sequence, has already
trashed variables or memory blocks.
► Checking the trace log of the called routines leading up to one with the problem will often show up the error.
► Compiler warnings.
Question No: 18 ( Marks: 1 ) – Please choose one
Software architecture elements are further divided into categories which in total are ———–
► 2
► 3
► 4
► 5
Question No: 19 ( Marks: 1 ) – Please choose one
Three tier architecture contains ————- layers
► Presentation
► Application
► Database
► All of the above
Question No: 20 ( Marks: 1 ) – Please choose one
1. Variables should be initialized where they are declared and they should be declared in
the ————– scope possible.
► Smallest
► largest
► medium
► None of the given
Question No: 21 ( Marks: 1 ) – Please choose one
—————— are two important tools that can help in managing and mastering the complexity of a program.
► abstraction and encapsulation
► abstraction and Inheritence
► abstraction and Polymarhphism
► None of given
Question No: 22 ( Marks: 1 ) – Please choose one
Which of the following is a/are tool used in requirement analysis?
► Flow Graphs
► Data Flow Diagrams
► Activity Networks
► Module Dependency Diagrams
Question No: 23 ( Marks: 1 ) – Please choose one
Consider the following comment. “The software which I bought won’t run on windows and when it runs I can’t use WORD at the same time”. Which of the following do you think are violated by the newly bought software?
► dependability, interchangeability
► platform independence, interoperability
► reliability, dependency
► interoperability, reliability
Question No: 24 ( Marks: 1 ) – Please choose one
……………… is a diagramming technique used to identify the types of objects in the system and the static relationships that exist among them.
► Class Diagram
► Document flow diagrams
► Data flow diagrams
► Flow charts
Some bit field members are stored: I) left to right II) right to left III) in circular array
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
Question # 2 of 10
Comma ( , ) is very dangerous because
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Question # 3 of 10
_________ cause major portability issues
Loops
Bugs in code
Sizes of data types
Conditional Structures
Question # 4 of 10
In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of the given options
Question # 5 of 10
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
Question # 6 of 10
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible
STL
ANSI
ISO
CMMI
Question # 7 of 10
Exception handling provides:
Portability mechanism
Code Usability mechanism
Error Handling mechanism
All of the given options
Question # 8 of 10
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem
Lack of usability
Lack of security
Lack of performance
Lack of portability
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ------------
Validated
Corrected
Checked
Traced
The raising of the imaginary error flag is simply called raising or ________ an error.
Catching
Casting
Throwing
None of given options
he use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.TrueFalse
Bit fields allow the packing of data in a structure. using Bit fields we can:Read 9 bit integers
avoid memory leakages
avoid memory overflowAvoid syntax errors
avoid memory leakages
avoid memory overflowAvoid syntax errors
Be very careful when you use functions with side effects – functions that change the values of the ________.
Objects
Classes
Structures
Variables
Objects
Classes
Structures
Variables
A test case involves
Input/output specification plus a statement of the function under testSteps to perform the function
Expected results that the software application produces
All of the given options
Input/output specification plus a statement of the function under testSteps to perform the function
Expected results that the software application produces
All of the given options
The raising of the imaginary error flag is simply called raising or ________ an error
Catching
Casting
Throwing
None of given options
Consider the following statement: int a,b=10; Which of the following is correct:variable "a" is initialized to 10
Variable "b" is initialized to 10
Both variables "a" and "b" are initialized to 10
variables can not be initialized this way
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
Catching
Casting
Throwing
None of given options
Consider the following statement: int a,b=10; Which of the following is correct:variable "a" is initialized to 10
Variable "b" is initialized to 10
Both variables "a" and "b" are initialized to 10
variables can not be initialized this way
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>Right shift <<
&&
||
Right shift >>Right shift <<
&&
||
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ------------
Validated
Corrected
Checked
Traced
The raising of the imaginary error flag is simply called raising or ________ an error.
Catching
Casting
Throwing
None of given options
Question # 9 of 10
if (e.Title() == “CEO” || e.Salary() > 10000) in the above statement if e.Title()=="CEO") is TRUE then
Second part is not evaluated
Second part is always evaluated
Second part must also be TRUE
Second part is not evaluated but e.Salary() is called
Question # 10 of 10
A test case involves
Input/output specification plus a statement of the function under test
Steps to perform the function
Expected results that the software application produces
All of the given options
Question # 2 of 10 ( Start time: 06:16:10 PM ) Total Marks: 1
Three tier architecture contains ------------- layers
Select correct option:
Presentation
Application
Database
All of the above
http://www.vuzs.info/
Question # 3 of 10 ( Start time: 06:17:05 PM ) Total Marks: 1
Which of following is/are among ten things,which the basic template of GOF design pattern includes.
Select correct option:
Problem
Context
Forces
All of the given
Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring
Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring
Question # 5 of 10 ( Start time: 06:20:06 PM ) Total Marks: 1
Patterns are devices that allow programs to share knowledge about their -------------.
Select correct option:
Code
Design
Analysis
None of the given
Question # 6 of 10 ( Start time: 06:22:07 PM ) Total Marks: 1
Client server model tries to …….data and processing.
Select correct option:
Distribute
Merge
Clone
Proceed
Question # 7 of 10 ( Start time: 06:23:24 PM ) Total Marks: 1
N-tier architecture stems from the struggle to find a ----------- between the fat-client architecture and the thin-client architecture.
Select correct option:
Concurrency
Distribution point
Middle ground
Similarity
Question # 8 of 10 ( Start time: 06:24:20 PM ) Total Marks: 1
Vertical partitioning divides the architecture application from a …… making perspective.
Decision
Design
Conclusion
Move
Question # 9 of 10 ( Start time: 06:25:23 PM ) Total Marks: 1
Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture.
Select correct option:
Subtracting
Partitioning
Cloning
Balancing
Question # 1 of 10 ( Start time: 01:35:10 PM ) Total Marks: 1
The nominal case should be put in the if-part and the exception in the else-part of an if statement.
Select correct option:
TURE
FALSE
sec(s)
Question # 2 of 10 ( Start time: 01:35:59 PM ) Total Marks: 1
Charles Simonyi first discussed Hungarian Notation. He was of ------ .
Select correct option:
Microsoft
IBM
Dell
Cisco
sec(s)
Question # 3 of 10 ( Start time: 01:36:25 PM ) Total Marks: 1
The terms get/set must be used where an attribute is accessed
Select correct option:
Indirectly
Directly
sec(s)
Question # 4 of 10 ( Start time: 01:36:37 PM ) Total Marks: 1
A self documented program/code contains the following attribute(s):
Size of each function
Choice of variable
Choice of variable
All of the given choices
sec(s)
Question # 5 of 10 ( Start time: 01:37:42 PM ) Total Marks: 1
"is" prefix should be used for------ variables and methods.
Select correct option:
General
Boolean
Constant
None of the given
sec(s)
Question # 6 of 10 ( Start time: 01:38:16 PM ) Total Marks: 1
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an
explicit logical structure.
Select correct option:
TRUE
FALSE
sec(s)
Question # 7 of 10 ( Start time: 01:38:44 PM ) Total Marks: 1
Variables should be initialized where they are ------and they should be declared in the ------scope possible.
Select correct option:
defined and smallest
declared and medium
defined and medium
declared and smallest
sec(s)
Question # 8 of 10 ( Start time: 01:39:56 PM ) Total Marks: 1
Unrelated variables should be declared in the same statement.
Select correct option:
True
False
sec(s)
Question # 9 of 10 ( Start time: 01:40:22 PM ) Total Marks: 1
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2
Select correct option:
(1) and (3) only
(2) and (3) only
(1) and (2) only
All procduce the same result
sec(s)
Question # 10 of 10 ( Start time: 01:41:38 PM ) Total Marks: 1
Goto statements violate the idea of
Select correct option:
object oriented code
structured code
control structure
repetition structure
sec(s)
Question # 2 of 10 ( Start time: 01:44:29 PM ) Total Marks: 1
MVC pattern was based on the --------------- pattern.
Select correct option:
Observer
Structural
Behavioral
None of given
sec(s)
Question # 3 of 10 ( Start time: 01:44:56 PM ) Total Marks: 1
Which one is correct?
Select correct option:
double total = 0.5;
double total = .5;
double total = .50;
all of the given
sec(s)
Question # 4 of 10 ( Start time: 01:46:09 PM ) Total Marks: 1
Code should not be:
Select correct option:
commented
indented
cryptic
aligned
sec(s)
Question # 5 of 10 ( Start time: 01:46:41 PM ) Total Marks: 1
Global variables in C++ should always be referred to by using the
Select correct option:
:: operator
: operator
Without an operator
None of the given
sec(s)
Question # 6 of 10 ( Start time: 01:47:17 PM ) Total Marks: 1
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model
View Controller pattern
Select correct option:
Smalltalk
PASCAL
JAVA
C++
sec(s)
Question # 7 of 10 ( Start time: 01:47:56 PM ) Total Marks: 1
using proper paranthesis normally makes the code
Select correct option:
easy to read
easy to understand
less ambigous
All of the given options
sec(s)
Question # 9 of 10 ( Start time: 01:48:58 PM ) Total Marks: 1
Which of the following shows a commented statement in C++
Select correct option:
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
sec(s)
Question # 1 of 10 ( Start time: 01:51:42 PM ) Total Marks: 1
The form for (;;) should be used for
Select correct option:
nested loop
empty loop
more than 1000 iterations
sec(s)
sec(s)
Question # 2 of 10 ( Start time: 01:52:09 PM ) Total Marks: 1
Identifier names also play a significant role in enhancing the -------- of a program.
Select correct option:
Writ ability
Readability
Reliability
sec(s)
Question # 3 of 10 ( Start time: 01:53:08 PM ) Total Marks: 1
It ensures that a class only has one instance and provides a global point of access to it.
Select correct option:
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
sec(s)
Question # 4 of 10 ( Start time: 01:53:49 PM ) Total Marks: 1
Names representing methods and functions should be----and written in mixed case starting
with -----case.
Select correct option:
Noun—lower
Verb----lower
Noun ---upper
Noun----upper
sec(s)
Question # 5 of 10 ( Start time: 01:54:45 PM ) Total Marks: 1
A function should not be larger in any case and should not exceed ______ in length .
Select correct option:
Half page
One page
Two pages
Three Pages
sec(s)
Question # 7 of 10 ( Start time: 01:55:56 PM ) Total Marks: 1
-----provides a unified interface to a set of interfaces in a sub-system.
Select correct option:
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
sec(s)
Question # 8 of 10 ( Start time: 01:56:35 PM ) Total Marks: 1
MVC stands for ---------------
Select correct option:
Model View Controller
Modern View Center
Model View Center
Modern View Controller
sec(s)
Question # 8 of 10 ( Start time: 01:59:40 PM ) Total Marks: 1
A self documenting code is a code that explains itself without the need of comments and
extraneous documentation, like _______
Select correct option:
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices
sec(s)
Question # 10 of 10 ( Start time: 02:00:38 PM ) Total Marks: 1
Complex expressions:
Select correct option:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandablity
Question # 10 of 10 ( Start time: 01:49:27 PM ) Total Marks: 1
Comments should NOT be indented relative to their position in the code
Select correct option:
TRUE
FALSE
----Provides a unified interface to a set of interfaces in a sub-system
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
In Client Server model, there application is modeled as a set so --- that are provided by server
Application
Protocol
Services
All of the above
Vertical Partitioning is also know as
Balancing
Mutating
Parallizing
Factoring
Using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambigous
All of the given options
Which of the following shows a commented statement in C++.
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
The form for (;;) should be used for.
nested loop
empty loop
more than 1000 iterations
Identifier names also play a significant role in enhancing the -------- of a program.
Writ ability
Readability
Reliability
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
Names representing methods and functions should be----and written in mixed case starting
with -----case.
Noun—lower
Verb----lower
Noun ---upper
easy to read
easy to understand
less ambigous
All of the given options
Which of the following shows a commented statement in C++.
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
The form for (;;) should be used for.
nested loop
empty loop
more than 1000 iterations
Identifier names also play a significant role in enhancing the -------- of a program.
Writ ability
Readability
Reliability
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
Names representing methods and functions should be----and written in mixed case starting
with -----case.
Noun—lower
Verb----lower
Noun ---upper
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
True
False
Which of the is/are among ten things which the basis template of GOF design pattern includes.
Problem
Context
Forces
All of the above
Thin Client Model places a heavy processing load on……
Only Server
Only Network
Both Server and Network(Not Sure)
Neither server nor network
Zero install architecture does not need any installation on ____________.
Server side (not Sure)
Client side
Client & Server Side (Not Sure)
None of the above
Vertical Partitioning is also know as.
x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘\0’
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ------------
Validated
Corrected
Checked
Traced
The raising of the imaginary error flag is simply called raising or ________ an error.
Catching
Casting
Throwing
None of given options
struct packed_struct { unsigned int f1:1; } pack; Here in "packed_struct":
value of f1 = 1
size of f1 = 1 bit
value of f1 should not exceede 1
None of given options
The idea behind exception handling is to raise some error flag every time ________.
The code compiles
The code links
Memory is allocated
Something goes wrong
Bit fields allow the packing of data in a structure. using Bit fields we can:
Read 9 bit integers
avoid memory leakages
avoid memory overflow
Avoid syntax errors
The order in which bytes of one word are stored is _________ dependent.
hardware
software
language
syntax
A __________ is a variance from a desired product attribute.
Exception
Error
Mistake
Defect
The C/C++ language does not define the alignment of items within.
structures
classes
unions
All of the given options
The raising of the imaginary error flag is simply called raising or ________ an error
Catching
Casting
Throwing
None of given options
Consider the following statement: int a,b=10; Which of the following is correct:variable "a" is initialized to 10
Variable "b" is initialized to 10
Both variables "a" and "b" are initialized to 10
variables can not be initialized this way
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
When an error is thrown the overall system (on the lookout for this error flag) responds by ______ the error.
Ignoring
Casting
Catching
All of the given options(Not Sure)
Client Server model tries to data and processing.
DistributeMergeCloneProceed
Anti- Patterns is another concept that corresponds to common in analysis and design.
Mistake
Issues
Problems
All of the given
Three tier architecture contains layers.
Presentation
Application
Database
All of the above
MVC stands for
Model View Controller
Modern View Center
Model View Center
Modern View Controller
Fat client model is one of the configurations of model.
Data-Centered
Layered
Reference
Client Server
Description of communicating objects and classes that are customized to solved a general problem in a particular context is called.
Design Pattern
System Patter
System Design
None of the Given
In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
Usability
Performance
Interpretability
None of the given
Thin Client model is one of the configurations of ….. model.
Data Centered
Client Server
Layered
Reference
Components
Objects
Structure
Linkage
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
STL Stnads for ------------------ .
Standard Template Library
Standard Type Link
Standard Tempo Line
None of the given
Three tier architecture contains ------------- layers.
Presentation
Application
Database
All of the above
Which of following is/are among ten things, which the basic template of GOF design pattern includes.
Problem
Context
Forces
All of the given
Vertical partitioning is also known as….. .
Balancing
Mutating
Parallelizing
Factoring
Vertical partitioning is also known as…...
Balancing
Mutating
Parallelizing
Factoring
Patterns are devices that allow programs to share knowledge about their -------.
Code
Design
Analysis
None of the given
Client server model tries to …….data and processing.
Distribute
Merge
Clone
Proceed
N-tier architecture stems from the struggle to find a ----------- between the fat-client architecture and the thin-client architecture.
Concurrency
Distribution point
Middle ground
Similarity
Vertical partitioning divides the architecture application from a …… making perspective.
Decision
Design
Conclusion
Move
Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture.
Subtracting
Partitioning
Cloning
Balancing
The nominal case should be put in the if-part and the exception in the else-part of an if statement.
TURE
FALSE
Goto statements violate the idea of
Select correct option:
object oriented code
structured code
control structure
repetition structure
sec(s)
Question # 2 of 10 ( Start time: 01:44:29 PM ) Total Marks: 1
MVC pattern was based on the --------------- pattern.
Select correct option:
Observer
Structural
Behavioral
None of given
sec(s)
Question # 3 of 10 ( Start time: 01:44:56 PM ) Total Marks: 1
Which one is correct?
Select correct option:
double total = 0.5;
double total = .5;
double total = .50;
all of the given
sec(s)
Question # 4 of 10 ( Start time: 01:46:09 PM ) Total Marks: 1
Code should not be:
Select correct option:
commented
indented
cryptic
aligned
sec(s)
Question # 5 of 10 ( Start time: 01:46:41 PM ) Total Marks: 1
Global variables in C++ should always be referred to by using the
Select correct option:
:: operator
: operator
Without an operator
None of the given
sec(s)
Charles Simonyi first discussed Hungarian Notation. He was of ------. .
Microsoft
IBM
Dell
Cisco
The terms get/set must be used where an attribute is accessed.
Indirectly
Directly
A self documented program/code contains the following attribute(s):
Size of each function
Choice of variable
Choice of variable
All of the given choices
"is" prefix should be used for------ variables and methods.
General
Boolean
Constant
None of the given
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an
explicit logical structure.
TRUE
FALSE
Variables should be initialized where they are ------and they should be declared in the ------scope possible.
defined and smallest
declared and medium
defined and medium
declared and smallest
Unrelated variables should be declared in the same statement.
True
False
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2.
(1) and (3) only
(2) and (3) only
(1) and (2) only
All produce the same result
Goto statements violate the idea of.
object oriented code
structured code
control structure
repetition structure
MVC pattern was based on the --------------- pattern.
Observer
Structural
Behavioral
None of given
Which one is correct?
double total = 0.5;
double total = .5;
double total = .50;
all of the given
Code should not be:
commented
indented
cryptic
aligned
Global variables in C++ should always be referred to by using the.
:: operator
: operator
Without an operator
None of the given
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model.
View Controller pattern
Smalltalk
PASCAL
JAVA
C++
Using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambigous
All of the given options
Which of the following shows a commented statement in C++.
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
The form for (;;) should be used for.
nested loop
empty loop
more than 1000 iterations
Identifier names also play a significant role in enhancing the -------- of a program.
Writ ability
Readability
Reliability
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
Names representing methods and functions should be----and written in mixed case starting
with -----case.
Noun—lower
Verb----lower
Noun ---upper
A function should not be larger in any case and should not exceed ______ in length .
Half page
One page
Two pages
Three Pages
-----provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
MVC stands for ---------------.
Model View Controller
Modern View Center
Model View Center
Modern View Controller
A self documenting code is a code that explains itself without the need of comments and
extraneous documentation, like _______.
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices
Complex expressions:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability
Comments should NOT be indented relative to their position in the code.
TRUE
FALSE
----Provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
In Client Server model, there application is modeled as a set so --- that are provided by server.
Application
Protocol
Services
All of the above
Vertical Partitioning is also know as.
Balancing
Mutating
Parallizing
Factoring
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
True
False
Which of the is/are among ten things which the basis template of GOF design pattern includes.
Problem
Context
Forces
All of the above
Thin Client Model places a heavy processing load on…….
Only Server
Only Network
Both Server and Network(Not Sure)
Neither server nor network
Str = 0;// str is string Which rewritten from of above line of code is more in line with the self-documentation philosophy than the code above.
Str = false;
Str = false;
Str = NULL;
Str = ‘\0;
Str = 0.0;
Str = 0.0;
Struct packed_struct { unsigned int f1:1;} pack; Here in “packed_struct”:
Value of f1 =1
Size of f1 = 1 bit
Value of f1 should not exceede 1 (Not Sure)
None of given options
Value of f1 =1
Size of f1 = 1 bit
Value of f1 should not exceede 1 (Not Sure)
None of given options
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of Usability
Lack of Security
Lack of Performance
Lack of Portability
Lack of Usability
Lack of Security
Lack of Performance
Lack of Portability
If(!(block < activeBlock)) is equvivalent to.
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
Bit fields allow the packing of data in a structure. Using Bit fields we can.
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
The order in which bytes of one word are stored is _________ dependent.
HardwareSoftware
Language
Syntax
HardwareSoftware
Language
Syntax
In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Complex expressions.
Make the code easy to modifyMake the code difficult to modify
Make the code easy to understand
Does not effect understandability
Make the code easy to modifyMake the code difficult to modify
Make the code easy to understand
Does not effect understandability
x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘\0’
x = false
x = NULL
x = 0.0;
x = ‘\0’
using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambiguous
All of the given options
easy to read
easy to understand
less ambiguous
All of the given options
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.
TrueFalse
TrueFalse
Bit fields allow the packing of data in a structure. using Bit fields we can:
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;
Statement (2) is more complex than (1)Statement (2) is more complex than (1)
Both statements are very complex
None of the given option
Statement (2) is more complex than (1)Statement (2) is more complex than (1)
Both statements are very complex
None of the given option
80/20 rule states that:
you spend 80 percent of your time in 20 percent of the codeyou spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
you spend 80 percent of your time in 20 percent of the codeyou spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
Be very careful when you use functions with side effects – functions that change the values of the ________.
Objects
Classes
Structures
Variables
Objects
Classes
Structures
Variables
Comma ( , ) is very dangerous because.
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options (Not Sure)
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>
Right shift <<
&&
||
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible.
STL
ANSI
ISO
CMMI
The order in which bytes of one word are stored is _________ dependent.
hardware
software
language
syntax
Be very careful when you use functions with side effects – functions that change the values of the ________.Objects
Classes
Structures
Variables
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options (Not Sure)
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>
Right shift <<
&&
||
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible.
STL
ANSI
ISO
CMMI
The order in which bytes of one word are stored is _________ dependent.
hardware
software
language
syntax
Be very careful when you use functions with side effects – functions that change the values of the ________.Objects
Classes
Structures
Variables
When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
_______ cause major portability issues
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures
In the switch statement, cases should always end with a -------statment.
Switch
Go
Break
Stop
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
_______ cause major portability issues
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures
In the switch statement, cases should always end with a -------statment.
Switch
Go
Break
Stop
Some bit field members are stored: I) left to right II) right to left III) in circular array.
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘\0’
Comma ( , ) is very dangerous because
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options(Not sure)
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options(Not sure)
using proper paranthesis normally makes the codeeasy to read
easy to understand
less ambiguous
All of the given options
easy to understand
less ambiguous
All of the given options
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.TrueFalse
Bit fields allow the packing of data in a structure. using Bit fields we can:Read 9 bit integers
avoid memory leakages
avoid memory overflowAvoid syntax errors
avoid memory leakages
avoid memory overflowAvoid syntax errors
Be very careful when you use functions with side effects – functions that change the values of the ________.
Objects
Classes
Structures
Variables
The order in which bytes of one word are stored is _________ dependent.
hardware
software
language
syntax
Be very careful when you use functions with side effects – functions that change the values of the ________.Objects
Classes
Structures
Variables
► Random
Question # 1 of 10 ( Start time: 10:40:47 PM ) Total Marks: 1
If you try to make software more user-friendly then the ________ may suffer.
Select correct option:
Reliability
software
Efficiency
cost ok
Question # 2 of 10 ( Start time: 10:40:47 PM ) Total Marks: 1
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
Question # 3 of 10 ( Start time: 11:23:47 PM ) Total Marks: 1
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
Question # 4 of 10 ( Start time: 10:50:43 PM ) Total Marks: 1
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system. not confirm
the system’s functionality for a particular purpose.
Question # 4 of 10 ( Start time: 11:20:09 PM ) Total Marks: 1
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints
budget and expenses
data objects and operations ok not confirm
schedule and milestones
Question # 5 of 10 ( Start time: 10:48:44 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Question # 6 of 10 ( Start time: 10:03:11 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 1 of 10 ( Start time: 10:01:31 PM ) Total Marks: 1
Data cannot flow from one external entity to other external entity because:
Select correct option:
It will get corrupted
It is not allowed in DFD ok
An external entity has no mechanism to read or write
Both are outside the context of the system
Question # 2 of 10 ( Start time: 10:02:33 PM ) Total Marks: 1
A context diagram:
Select correct option:
describes detailed design of a system
is a DFD which gives an overview of the system ok
is a detailed description of a system
is not used in drawing a detailed DFD
Question # 3 of 10 ( Start time: 10:03:11 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 4 of 10 ( Start time: 10:04:10 PM ) Total Marks: 1
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
Question # 5 of 10 ( Start time: 10:04:52 PM ) Total Marks: 1
______ is one of the techniques to document domain knowledge
Select correct option:
State transition diagram ok
Feasibility matrix
System matrix
None of given options
Question # 6 of 10 ( Start time: 10:05:25 PM ) Total Marks: 1
In Data Flow Diagram, the entity or system, outside the boundary of this system is called
Select correct option:
Process
Data Flow
External Agent ok
Data Store
Question # 7 of 10 ( Start time: 10:05:56 PM ) Total Marks: 1
_________ diagram does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
Sequence
Data Flow ok
Activity
Class
Question # 8 of 10 ( Start time: 10:06:27 PM ) Total Marks: 1
________ structure represents the internal organization of the various data and control items.
Select correct option:
Data not confirm
Value
Information
Conceptual
In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
Usability
Performance
Interpretability
None of the given
Thin Client model is one of the configurations of ….. model.
Data Centered
Client Server
Layered
Reference
Dynamic process model shows the process ….…….. of the system.
Components
Objects
Structure
Linkage
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
STL Stnads for ------------------ .
Standard Template Library
Standard Type Link
Standard Tempo Line
None of the given
Question # 9 of 10 ( Start time: 10:07:58 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 10 of 10 ( Start time: 10:08:32 PM ) Total Marks: 1
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design ok
product planning
information strategy planning
Question # 9 of 10 ( Start time: 10:30:01 PM ) Total Marks: 1
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design ok
product planning
information strategy planning
Question # 10 of 10 ( Start time: 10:30:26 PM ) Total Marks: 1
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
Question # 7 of 10 ( Start time: 10:48:03 PM ) Total Marks: 1
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software ok
Logical Data
Utility Software
Question # 8 of 10 ( Start time: 10:48:44 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Unrelated variables should be declared in the same statement.
True
False
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2.
(1) and (3) only
(2) and (3) only
(1) and (2) only
All produce the same result
Goto statements violate the idea of.
object oriented code
structured code
control structure
repetition structure
MVC pattern was based on the --------------- pattern.
Observer
Structural
Behavioral
None of given
Which one is correct?
double total = 0.5;
double total = .5;
double total = .50;
all of the given
Code should not be:
commented
indented
cryptic
aligned
Global variables in C++ should always be referred to by using the.
:: operator
: operator
Without an operator
None of the given
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model.
View Controller pattern
Smalltalk
PASCAL
JAVA
C++
Question # 9 of 10 ( Start time: 10:49:45 PM ) Total Marks: 1
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Question # 10 of 10 ( Start time: 10:50:43 PM ) Total Marks: 1
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system.
the system’s functionality for a particular purpose. ok
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 5 of 10 ( Start time: 03:39:59 PM ) Total Marks: 1
The context diagram is used as the top level abstraction in a _______ developed according to principles of structured analysis.
Select correct option:
Dataflow diagram *
Activity Diagram
State Transition Diagram
USe Case Diagram
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 6 of 10 ( Start time: 03:40:59 PM ) Total Marks: 1
Which one is not a part of Software Development phase ?
Select correct option:
Construction
Scope * (plz check)
Project Vision
Definition
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 7 of 10 ( Start time: 03:42:17 PM ) Total Marks: 1
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software *
Logical Data
Utility Software
Quiz Start Time: 03:35 PM
Time Left 89
sec(s)
Question # 8 of 10 ( Start time: 03:43:07 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo *
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 9 of 10 ( Start time: 03:43:56 PM ) Total Marks: 1
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design *
product planning
information strategy planning
Quiz Start Time: 03:35 PM
Time Left 89
sec(s)
Question # 10 of 10 ( Start time: 03:44:54 PM ) Total Marks: 1
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor *
Component
Relation
Objects
Classes
Structures
Variables
Question # 1 of 10 ( Start time: 10:54:04 PM ) Total Marks: 1
In use case diagram, an ellipse signifies a(n):
Select correct option:
actor
class
use case not conrfirm
system boundary
The order in which bytes of one word are stored is _________ dependent.
hardware
software
language
syntax
Be very careful when you use functions with side effects – functions that change the values of the ________.Objects
Classes
Structures
Variables
Question # 2 of 10 ( Start time: 10:55:27 PM ) Total Marks: 1
______ is one of the techniques to document domain knowledge
Select correct option:
State transition diagram ok
Feasibility matrix
System matrix
None of given options
Question # 3 of 10 ( Start time: 10:56:09 PM ) Total Marks: 1
System models include:
Select correct option:
User business processes
User activities for conducting the business processes
Processes that need to be automated
All of the given options ok
Question # 4 of 10 ( Start time: 10:56:52 PM ) Total Marks: 1
The architecture components for product engineering are
Select correct option:
data, hardware, software, people ok
data, documentation, hardware, software
data, hardware, software, procedures
documentation, hardware, people, procedures
Question # 5 of 10 ( Start time: 10:57:58 PM ) Total Marks: 1
A DFD is normally levelled (adding more levels of abstraction) as
Select correct option:
it is a good idea in design
it is recommended by many experts
it is easy to do it
it is easier to read and understand a number of smaller DFDs than one large DFD ok
Question # 6 of 10 ( Start time: 10:58:38 PM ) Total Marks: 1
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
Question # 7 of 10 ( Start time: 10:58:58 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 8 of 10 ( Start time: 10:59:15 PM ) Total Marks: 1
In data flow diagram (DFD), Create, Update, Delete and Read operations are normally called:
Select correct option:
CRUD operations ok
DURC operations
RUDC operations
CDUR operation
Question # 9 of 10 ( Start time: 10:59:43 PM ) Total Marks: 1
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Question # 10 of 10 ( Start time: 10:59:59 PM ) Total Marks: 1
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output ok
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 1 of 10 ( Start time: 03:35:22 PM ) Total Marks: 1
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output *
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 2 of 10 ( Start time: 03:36:14 PM ) Total Marks: 1
The extend>> relationship between use cases would be used when behavior in the extending use case is ____________ the extended use case.
Select correct option:
always needed by
never needed by
sometimes needed by (not confirm)
None of the given options
Quiz Start Time: 03:35 PM
Time Left 89
sec(s)
Question # 3 of 10 ( Start time: 03:37:54 PM ) Total Marks: 1
The project manager would need _________ document to monitor and track the progress of the project.
Select correct option:
Design
Project
Requirement
Planning
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 4 of 10 ( Start time: 03:39:14 PM ) Total Marks: 1
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering *
Time Left 90
sec(s)
Question # 1 of 10 ( Start time: 03:35:22 PM ) Total Marks: 1
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output *
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 2 of 10 ( Start time: 03:36:14 PM ) Total Marks: 1
The extend>> relationship between use cases would be used when behavior in the extending use case is ____________ the extended use case.
Select correct option:
always needed by
never needed by
sometimes needed by (not confirm)
None of the given options
Quiz Start Time: 03:35 PM
Time Left 89
sec(s)
Question # 3 of 10 ( Start time: 03:37:54 PM ) Total Marks: 1
The project manager would need _________ document to monitor and track the progress of the project.
Select correct option:
Design
Project
Requirement
Planning
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 4 of 10 ( Start time: 03:39:14 PM ) Total Marks: 1
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering *
Question # 4 of 10 ( Start time: 10:35:59 PM ) Total Marks: 1
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Question # 5 of 10 ( Start time: 10:36:25 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 6 of 10 ( Start time: 10:36:57 PM ) Total Marks: 1
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints ok
budget and expenses
data objects and operations
schedule and milestones
Question # 7 of 10 ( Start time: 10:38:09 PM ) Total Marks: 1
A context diagram is used
Select correct option:
as the first step in developing a detailed DFD of a system ok
in systems analysis of very complex systems
as an aid to system design
as an aid to programmers
Question # 8 of 10 ( Start time: 10:39:00 PM ) Total Marks: 1
In _______ the analyst determines all the sources of requirements and where do these requirements consume
Select correct option:
Data Flow Analysis
Source and Sink Analysis ok
Down Parsing
Up Parsing
Question # 9 of 10 ( Start time: 10:39:29 PM ) Total Marks: 1
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
Question # 10 of 10 ( Start time: 10:40:47 PM ) Total Marks: 1
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
Question # 2 of 10 ( Start time: 11:18:58 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 3 of 10 ( Start time: 11:19:46 PM ) Total Marks: 1
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Question # 4 of 10 ( Start time: 11:20:09 PM ) Total Marks: 1
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints
budget and expenses
data objects and operations
schedule and milestones
Question # 5 of 10 ( Start time: 11:21:37 PM ) Total Marks: 1
The __________ relationship is kind of a generalization specialization relationship.
Select correct option:
Bit-Byte
Uses
Binary
Extends ok
Question # 6 of 10 ( Start time: 11:22:23 PM ) Total Marks: 1
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering ok
Question # 7 of 10 ( Start time: 11:22:53 PM ) Total Marks: 1
_________ diagram does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
Sequence
Data Flow ok
Activity
Class
Question # 8 of 10 ( Start time: 11:23:26 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 9 of 10 ( Start time: 11:23:47 PM ) Total Marks: 1
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
Question # 10 of 10 ( Start time: 11:24:17 PM ) Total Marks: 1
The system specification describes the
Select correct option:
function and behavior of a computer-based system ok
implementation of each allocated system element
algorithmic detail and data structures
time required for system simulation
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 3 of 10 ( Start time: 11:19:46 PM ) Total Marks: 1
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Question # 4 of 10 ( Start time: 11:20:09 PM ) Total Marks: 1
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints
budget and expenses
data objects and operations
schedule and milestones
Question # 5 of 10 ( Start time: 11:21:37 PM ) Total Marks: 1
The __________ relationship is kind of a generalization specialization relationship.
Select correct option:
Bit-Byte
Uses
Binary
Extends ok
Question # 6 of 10 ( Start time: 11:22:23 PM ) Total Marks: 1
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering ok
Question # 7 of 10 ( Start time: 11:22:53 PM ) Total Marks: 1
_________ diagram does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
Sequence
Data Flow ok
Activity
Class
Question # 8 of 10 ( Start time: 11:23:26 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 9 of 10 ( Start time: 11:23:47 PM ) Total Marks: 1
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
Question # 10 of 10 ( Start time: 11:24:17 PM ) Total Marks: 1
The system specification describes the
Select correct option:
function and behavior of a computer-based system ok
implementation of each allocated system element
algorithmic detail and data structures
time required for system simulation
Question # 1 of 10 ( Start time: 10:42:38 PM ) Total Marks: 1
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
Question # 2 of 10 ( Start time: 10:43:21 PM ) Total Marks: 1
In Data Flow Diagram (DFD), data flow can:
Select correct option:
Only originate from an external entity
Only terminate in an external entity
Originate and terminate in an external entity ok
Either originate or terminate in an external entity but not both
Question # 3 of 10 ( Start time: 10:44:15 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 4 of 10 ( Start time: 10:44:39 PM ) Total Marks: 1
A DFD is normally levelled (adding more levels of abstraction) as
Select correct option:
it is a good idea in design
it is recommended by many experts
it is easy to do it
it is easier to read and understand a number of smaller DFDs than one large DFD ok
Question # 5 of 10 ( Start time: 10:45:40 PM ) Total Marks: 1
System ________ are built to allow the System Engineer to evaluate the system components in relationship to one another.
Select correct option:
Requirements ok
Documents
Models
Test Cases
Question # 6 of 10 ( Start time: 10:46:46 PM ) Total Marks: 1
The extend>> relationship between use cases would be used when behavior in the extending use case is ____________ the extended use case.
Select correct option:
always needed by
never needed by
sometimes needed by
None of the given options
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
Question # 2 of 10 ( Start time: 10:43:21 PM ) Total Marks: 1
In Data Flow Diagram (DFD), data flow can:
Select correct option:
Only originate from an external entity
Only terminate in an external entity
Originate and terminate in an external entity ok
Either originate or terminate in an external entity but not both
Question # 3 of 10 ( Start time: 10:44:15 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 4 of 10 ( Start time: 10:44:39 PM ) Total Marks: 1
A DFD is normally levelled (adding more levels of abstraction) as
Select correct option:
it is a good idea in design
it is recommended by many experts
it is easy to do it
it is easier to read and understand a number of smaller DFDs than one large DFD ok
Question # 5 of 10 ( Start time: 10:45:40 PM ) Total Marks: 1
System ________ are built to allow the System Engineer to evaluate the system components in relationship to one another.
Select correct option:
Requirements ok
Documents
Models
Test Cases
Question # 6 of 10 ( Start time: 10:46:46 PM ) Total Marks: 1
The extend>> relationship between use cases would be used when behavior in the extending use case is ____________ the extended use case.
Select correct option:
always needed by
never needed by
sometimes needed by
None of the given options
Question # 1 of 10 ( Start time: 10:13:58 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 2 of 10 ( Start time: 10:14:22 PM ) Total Marks: 1
Data Flow Model:
Select correct option:
Captures the flow of data in a system
Helps in developing an understanding of system’s functionality
Describes data origination, transformations and consumption in a system
All of the given options ok
Question # 3 of 10 ( Start time: 10:15:18 PM ) Total Marks: 1
A Process in Data Flow Diagram (DFD) represents
Select correct option:
Flow of data
Transformation of data ok
Storage of data
An external agent
Question # 4 of 10 ( Start time: 10:16:24 PM ) Total Marks: 1
Construction activities are directly related to software _________.
Select correct option:
Management
Planning
Quality Assurance
Development ok
Question # 5 of 10 ( Start time: 10:17:05 PM ) Total Marks: 1
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering ok
Question # 6 of 10 ( Start time: 10:17:26 PM ) Total Marks: 1
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software ok
Logical Data
Utility Software
Question # 7 of 10 ( Start time: 10:18:21 PM ) Total Marks: 1
A context diagram:
Select correct option:
describes detailed design of a system
is a DFD which gives an overview of the system ok
is a detailed description of a system
is not used in drawing a detailed DFD
Question # 8 of 10 ( Start time: 10:19:09 PM ) Total Marks: 1
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor ok
Component
Relation
Question # 9 of 10 ( Start time: 10:20:04 PM ) Total Marks: 1
The context diagram is used as the top level abstraction in a _______ developed according to principles of structured analysis.
Select correct option:
Dataflow diagram ok
Activity Diagram
State Transition Diagram
USe Case Diagram
Question # 10 of 10 ( Start time: 10:20:44 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Question # 1 of 10 ( Start time: 10:24:35 PM ) Total Marks: 1
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor ok
Component
Relation
Question # 2 of 10 ( Start time: 10:25:15 PM ) Total Marks: 1
The project manager would need _________ document to monitor and track the progress of the project.
Select correct option:
Design
Project ok
Requirement
Planning
Question # 3 of 10 ( Start time: 10:25:49 PM ) Total Marks: 1
In Data Flow Diagram, the entity or system, outside the boundary of this system is called
Select correct option:
Process
Data Flow
External Agent ok
Data Store
Question # 4 of 10 ( Start time: 10:26:24 PM ) Total Marks: 1
Data cannot flow from one external entity to other external entity because:
Select correct option:
It will get corrupted
It is not allowed in DFD ok
An external entity has no mechanism to read or write
Both are outside the context of the system
Question # 5 of 10 ( Start time: 10:26:54 PM ) Total Marks: 1
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output ok
Question # 6 of 10 ( Start time: 10:27:29 PM ) Total Marks: 1
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system. ok
the system’s functionality for a particular purpose.
Question # 7 of 10 ( Start time: 10:28:17 PM ) Total Marks: 1
Following is/are example(s) of illegal data flow in Data Flow Diagram (DFD)
Select correct option:
External Agents directly communicating with each other
External Agent updating information in a Data Store
External Agent accessing information from a Data Store
All of the given options ok
Question # 8 of 10 ( Start time: 10:28:49 PM ) Total Marks: 1
Which one is not a part of Software Development phase ?
Select correct option:
Construction
Scope
Project Vision ok
Definition
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor ok
Component
Relation
Question # 2 of 10 ( Start time: 10:25:15 PM ) Total Marks: 1
The project manager would need _________ document to monitor and track the progress of the project.
Select correct option:
Design
Project ok
Requirement
Planning
Question # 3 of 10 ( Start time: 10:25:49 PM ) Total Marks: 1
In Data Flow Diagram, the entity or system, outside the boundary of this system is called
Select correct option:
Process
Data Flow
External Agent ok
Data Store
Question # 4 of 10 ( Start time: 10:26:24 PM ) Total Marks: 1
Data cannot flow from one external entity to other external entity because:
Select correct option:
It will get corrupted
It is not allowed in DFD ok
An external entity has no mechanism to read or write
Both are outside the context of the system
Question # 5 of 10 ( Start time: 10:26:54 PM ) Total Marks: 1
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output ok
Question # 6 of 10 ( Start time: 10:27:29 PM ) Total Marks: 1
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system. ok
the system’s functionality for a particular purpose.
Question # 7 of 10 ( Start time: 10:28:17 PM ) Total Marks: 1
Following is/are example(s) of illegal data flow in Data Flow Diagram (DFD)
Select correct option:
External Agents directly communicating with each other
External Agent updating information in a Data Store
External Agent accessing information from a Data Store
All of the given options ok
Question # 8 of 10 ( Start time: 10:28:49 PM ) Total Marks: 1
Which one is not a part of Software Development phase ?
Select correct option:
Construction
Scope
Project Vision ok
Definition
Q 1
Cohesion is about making sure each component does _____ thing and does it well.
► three
► two
► infinite
► one
Q 2
Collaboration diagrams have basically two types of components: objects and ----------.
► messages
► methods
► classes
► non of the above
Q 3
What would be the most suitable architecture to develop a commercial web page to do business transactions over the internet?
► Client server model
►Islandmodel
► RAD model
► Repository model
Q 4
Flow charts represent.
► Sequence. (Page 50)
► Random
► Parallel
► Non of above
Q 5
----- gives OO the ability to handle essential.► Decentralization
► Centralization
► Decentralization and Centralization
► Non of above
Q 6
what is the most important software quality of a web based transaction.
► efficiency
► Modularity
► usability
► Security
Question # 1 of 10 ( Start time: 10:40:47 PM ) Total Marks: 1
If you try to make software more user-friendly then the ________ may suffer.
Select correct option:
Reliability
software
Efficiency
cost ok
Question # 2 of 10 ( Start time: 10:40:47 PM ) Total Marks: 1
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
Question # 3 of 10 ( Start time: 11:23:47 PM ) Total Marks: 1
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
Question # 4 of 10 ( Start time: 10:50:43 PM ) Total Marks: 1
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system. not confirm
the system’s functionality for a particular purpose.
Question # 4 of 10 ( Start time: 11:20:09 PM ) Total Marks: 1
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints
budget and expenses
data objects and operations ok not confirm
schedule and milestones
Question # 5 of 10 ( Start time: 10:48:44 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Question # 6 of 10 ( Start time: 10:03:11 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 1 of 10 ( Start time: 10:01:31 PM ) Total Marks: 1
Data cannot flow from one external entity to other external entity because:
Select correct option:
It will get corrupted
It is not allowed in DFD ok
An external entity has no mechanism to read or write
Both are outside the context of the system
Question # 2 of 10 ( Start time: 10:02:33 PM ) Total Marks: 1
A context diagram:
Select correct option:
describes detailed design of a system
is a DFD which gives an overview of the system ok
is a detailed description of a system
is not used in drawing a detailed DFD
Question # 3 of 10 ( Start time: 10:03:11 PM ) Total Marks: 1
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Question # 4 of 10 ( Start time: 10:04:10 PM ) Total Marks: 1
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
Question # 5 of 10 ( Start time: 10:04:52 PM ) Total Marks: 1
______ is one of the techniques to document domain knowledge
Select correct option:
State transition diagram ok
Feasibility matrix
System matrix
None of given options
Question # 6 of 10 ( Start time: 10:05:25 PM ) Total Marks: 1
In Data Flow Diagram, the entity or system, outside the boundary of this system is called
Select correct option:
Process
Data Flow
External Agent ok
Data Store
Question # 7 of 10 ( Start time: 10:05:56 PM ) Total Marks: 1
_________ diagram does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
Sequence
Data Flow ok
Activity
Class
Question # 8 of 10 ( Start time: 10:06:27 PM ) Total Marks: 1
________ structure represents the internal organization of the various data and control items.
Select correct option:
Data not confirm
Value
Information
Conceptual
In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
Usability
Performance
Interpretability
None of the given
Thin Client model is one of the configurations of ….. model.
Data Centered
Client Server
Layered
Reference
Dynamic process model shows the process ….…….. of the system.
Components
Objects
Structure
Linkage
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
STL Stnads for ------------------ .
Standard Template Library
Standard Type Link
Standard Tempo Line
None of the given
Question # 9 of 10 ( Start time: 10:07:58 PM ) Total Marks: 1
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Question # 1
Str = 0;// str is string Which rewritten from of above line of code is more in line with the self-documentation philosophy than the code above.
Str = false;
Str = NULL;
Str = ‘;
Str = 0.0;
Str = false;
Str = NULL;
Str = ‘;
Str = 0.0;
Question # 2
Struct packed_struct { unsigned int f1:1;} pack; Here in “packed_struct”:
Value of f1 =1
Size of f1 = 1 bit
Value of f1 should not exceede 1
None of given options
Value of f1 =1
Size of f1 = 1 bit
Value of f1 should not exceede 1
None of given options
Question # 3
Question # 4
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of Usability
Lack of Security
Lack of Performance
Lack of Portability
Lack of Usability
Lack of Security
Lack of Performance
Lack of Portability
Question # 5
If(!(block < activeBlock)) is equvivalent to.
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
Question # 6
Bit fields allow the packing of data in a structure. Using Bit fields we can.
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Question # 7
The order in which bytes of one word are stored is _________ dependent.
Hardware
Software
Language
Syntax
Hardware
Software
Language
Syntax
Question # 8
In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Question # 9
Complex expressions.
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability
Question # 10
x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘’
x = false
x = NULL
x = 0.0;
x = ‘’
Question # 11
using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambiguous
All of the given options
easy to read
easy to understand
less ambiguous
All of the given options
Question # 12
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.
True
False
One page
Two pages
Three Pages
-----provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
MVC stands for ---------------.
Model View Controller
Modern View Center
Model View Center
Modern View Controller
A self documenting code is a code that explains itself without the need of comments and
extraneous documentation, like _______.
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices
Complex expressions:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability
Comments should NOT be indented relative to their position in the code.
TRUE
FALSE
----Provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
True
False
It ensures that a class only has one instance and provides a global point of access to it.
Select correct option:
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
sec(s)
Question # 4 of 10 ( Start time: 01:53:49 PM ) Total Marks: 1
Names representing methods and functions should be----and written in mixed case starting
with -----case.
Select correct option:
Noun—lower
Verb----lower
Noun ---upper
Noun----upper
A function should not be larger in any case and should not exceed ______ in length .
Half pageOne page
Two pages
Three Pages
-----provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
MVC stands for ---------------.
Model View Controller
Modern View Center
Model View Center
Modern View Controller
A self documenting code is a code that explains itself without the need of comments and
extraneous documentation, like _______.
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices
Complex expressions:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability
Comments should NOT be indented relative to their position in the code.
TRUE
FALSE
----Provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
sec(s)
Question # 5 of 10 ( Start time: 01:54:45 PM ) Total Marks: 1
A function should not be larger in any case and should not exceed ______ in length .
Select correct option:
Half page
One page
Two pages
Three Pages
sec(s)
Question # 7 of 10 ( Start time: 01:55:56 PM ) Total Marks: 1
-----provides a unified interface to a set of interfaces in a sub-system.
Select correct option:
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
Question # 13
Bit fields allow the packing of data in a structure. using Bit fields we can:
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Question # 14
1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a – 1;
Statement (2) is more complex than (1)
Statement (2) is more complex than (1)
Both statements are very complex
None of the given option
Statement (2) is more complex than (1)
Statement (2) is more complex than (1)
Both statements are very complex
None of the given option
Question # 15
80/20 rule states that:
you spend 80 percent of your time in 20 percent of the code
you spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
you spend 80 percent of your time in 20 percent of the code
you spend 20 percent of your time in 80 percent of the code
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
Question # 16
Be very careful when you use functions with side effects – functions that change the values of the ________.
Objects
Classes
Structures
Variables
Objects
Classes
Structures
Variables
Question # 17
Comma ( , ) is very dangerous because.
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Question # 18
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>
Right shift
&&
||
Question # 19
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible.
STL
ANSI
ISO
CMMI
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Question # 18
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>
Right shift
&&
||
Question # 19
In order to make a code more portable, Instead of using vendor specific language extensions, use _______ as much as possible.
STL
ANSI
ISO
CMMI
If(!(block < activeBlock)) is equvivalent to.
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
If ((block < activeBlock))
If ((block == activeBlock))
If ((block >= activeBlock))
None of the given
Bit fields allow the packing of data in a structure. Using Bit fields we can.
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
The order in which bytes of one word are stored is _________ dependent.
HardwareSoftware
Language
Syntax
HardwareSoftware
Language
Syntax
In order to write a portable code which of the following guideline will be helpful:
Stick to the standards
Program in the mainstream
Size of data types
All of give options
Question # 20Stick to the standards
Program in the mainstream
Size of data types
All of give options
When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
Question # 21
_______ cause major portability issues
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
Question # 21
_______ cause major portability issues
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures
Question # 22
Some bit field members are stored: I) left to right II) right to left III) in circular array.
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
Question # 23
Comma ( , ) is very dangerous because
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Compiler does not recognise this symbol
It creates linkage problem
It causes side effects
All of the given options
Question # 24
using proper paranthesis normally makes the code
easy to read
easy to understand
less ambiguous
All of the given options
easy to read
easy to understand
less ambiguous
All of the given options
Question # 25
A test case involves
Input/output specification plus a statement of the function under test
Steps to perform the function
Expected results that the software application produces
All of the given options
Input/output specification plus a statement of the function under test
Steps to perform the function
Expected results that the software application produces
All of the given options
Question # 26
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ————
Validated
Corrected
Checked
Traced
Question # 27
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ————
Validated
Corrected
Checked
Traced
Question # 27
The raising of the imaginary error flag is simply called raising or ________ an error.
Catching
Casting
Throwing
None of given options
Question # 28
struct packed_struct { unsigned int f1:1; } pack; Here in “packed_struct”:
value of f1 = 1
size of f1 = 1 bit
value of f1 should not exceede 1
None of given options
Question # 29
The idea behind exception handling is to raise some error flag every time ________.
The code compiles
The code links
Memory is allocated
Something goes wrong
Question # 30
A __________ is a variance from a desired product attribute.
Exception
Error
Mistake
Defect
Question # 31
The C/C++ language does not define the alignment of items within.
structures
classes
unions
All of the given options
Question # 32
Consider the following statement: int a,b=10; Which of the following is correct:
variable “a” is initialized to 10
Variable “b” is initialized to 10
Both variables “a” and “b” are initialized to 10
variables can not be initialized this way
Question # 33
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Question # 34
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
Question # 35
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
Question # 36
When an error is thrown the overall system (on the lookout for this error flag) responds by ______ the error.
Ignoring
Casting
Catching
All of the given options
Catching
Casting
Throwing
None of given options
Question # 28
struct packed_struct { unsigned int f1:1; } pack; Here in “packed_struct”:
value of f1 = 1
size of f1 = 1 bit
value of f1 should not exceede 1
None of given options
Question # 29
The idea behind exception handling is to raise some error flag every time ________.
The code compiles
The code links
Memory is allocated
Something goes wrong
Question # 30
A __________ is a variance from a desired product attribute.
Exception
Error
Mistake
Defect
Question # 31
The C/C++ language does not define the alignment of items within.
structures
classes
unions
All of the given options
Question # 32
Consider the following statement: int a,b=10; Which of the following is correct:
variable “a” is initialized to 10
Variable “b” is initialized to 10
Both variables “a” and “b” are initialized to 10
variables can not be initialized this way
Question # 33
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Question # 34
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
Question # 35
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
Question # 36
When an error is thrown the overall system (on the lookout for this error flag) responds by ______ the error.
Ignoring
Casting
Catching
All of the given options
Question # 37
Comments are not syntax checked
TRUE
FALSE
TRUE
FALSE
Question # 38
Client Server model tries to data and processing
Distribute
Merge
Clone
Proceed
Client Server model tries to data and processing
Distribute
Merge
Clone
Proceed
Question # 39
Anti- Patterns is another concept that corresponds to common in analysis and design.
Mistake
Issues
Problems
All of the given
Mistake
Issues
Problems
All of the given
Question # 40
Three tier architecture contains layers
Presentation
Application
Database
All of the above
Application
Database
All of the above
Question # 41
MVC stands for
Model View Controller
Modern View Center
Model View Center
Modern View Controller
Modern View Center
Model View Center
Modern View Controller
Question # 42
Fat client model is one of the configurations of model
Data-Centered
Layered
Reference
Client Server
Question # 43
Description of communicating objects and classes that are customized to solved a general problem in a particular context is called
Design Pattern
System Patter
System Design
None of the Given
Question # 44
In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
Usability
Performance
Interpretability
None of the given
Question # 45
Dynamic process model shows the process ………….. of the system
Components
Objects
Structure
Linkage
Question # 46
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
Question # 47
STL Stnads for ——————
Standard Template Library
Standard Type Link
Standard Tempo Line
None of the given
Question # 48
Three tier architecture contains ————- layers
Select correct option:
Presentation
Application
Database
All of the above
Question # 49
Which of following is/are among ten things,which the basic template of GOF design pattern includes.
Select correct option:
Problem
Context
Forces
All of the given
Question # 50
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring
Question # 51
Patterns are devices that allow programs to share knowledge about their ————-.
Code
Design
Analysis
None of the given
Question # 52
N-tier architecture stems from the struggle to find a ———– between the fat-client architecture and the thin-client architecture.
Concurrency
Distribution point
Middle ground
Similarity
Question # 53
Vertical partitioning divides the architecture application from a …… making perspective.
Decision
Design
Conclusion
Move
Question # 54
Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture. :
Subtracting
Partitioning
Cloning
Balancing
Question # 55
The nominal case should be put in the if-part and the exception in the else-part of an if statement.
TURE
FALSE
Question # 56
Charles Simonyi first discussed Hungarian Notation. He was of —— .
Microsoft
IBM
Dell
Cisco
Question # 58
The terms get/set must be used where an attribute is accessed
Indirectly
Directly
Question # 59
A self documented program/code contains the following attribute:
Size of each function
Choice of variable
Choice of variable
All of the given choices
Question # 60
“is” prefix should be used for—— variables and methods.
General
Boolean
Constant
None of the given
Question # 62
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an
explicit logical structure.
TRUE
FALSE
Question # 63
Variables should be initialized where they are ——and they should be declared in the ——scope possible.
defined and smallest
declared and medium
defined and medium
declared and smallest
Question # 64
Unrelated variables should be declared in the same statement.
True
False
Question # 65
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2
(1) and (3) only
(2) and (3) only
(1) and (2) only
All procduce the same result
Question # 66
Goto statements violate the idea of
object oriented code
structured code
control structure
repetition structure
Question # 67
MVC pattern was based on the ————— pattern.
Observer
Structural
Behavioral
None of given
Question # 68
Which one is correct?
double total = 0.5;
double total = .5;
double total = .50;
all of the given
Question # 69
Code should not be:
commented
indented
cryptic
aligned
Question # 70
Global variables in C++ should always be referred to by using the
:: operator
: operator
Without an operator
None of the given
Question # 71
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model
View Controller pattern
Smalltalk
PASCAL
JAVA
C++
Question # 72
using proper paranthesis normally makes the code
easy to read
easy to understand
less ambigous
All of the given options
Question # 73
Which of the following shows a commented statement in C++
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
----Provides a unified interface to a set of interfaces in a sub-system
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
In Client Server model, there application is modeled as a set so --- that are provided by server
Application
Protocol
Services
All of the above
Vertical Partitioning is also know as
Balancing
Mutating
Parallizing
Factoring
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
True
False
Which of the is/are among ten things which the basis template of GOF design pattern includes.
Problem
Context
Forces
All of the above
Thin Client Model places a heavy processing load on……
Only Server
Only Network
Both Server and Network(Not Sure)
Neither server nor network
Zero install architecture does not need any installation on ____________.
Server side (not Sure)
Client side
Client & Server Side (Not Sure)
None of the above
Data-Centered Architectural Style is also called ….
Repository model
Client Server model
Sub system model
Reference model
Question # 74
The form for (;;) should be used for
nested loop
empty loop
more than 1000 iterations
Question # 76
Identifier names also play a significant role in enhancing the ——– of a program.
Writ ability
Readability
Reliability
Question # 77
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
Question # 78
Names representing methods and functions should be—-and written in mixed case starting
with —–case.
Noun—lower
Verb—-lower
Noun —upper
Noun—-upper
Question # 79
—–provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
Question # 80
MVC stands for —————
Model View Controller
Modern ViewCenter
Model ViewCenter
Modern View Controller
Question # 81
A self documenting code is a code that explains itself without the need of comments and
extraneous documentation, like _______
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices
Question # 82
Complex expressions:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandablity
Question # 83
Comments should NOT be indented relative to their position in the code
TRUE
FALSE
Question # 84
—-Provides a unified interface to a set of interfaces in a sub-system
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
Question # 85
Vertical Partitioning is also know as
Balancing
Mutatin
Parallizing
Factoring
Question # 86
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
True
False
Question # 87
Which of the is/are among ten things which the basis template of GOF design pattern includes.
Problem
Context
Forces
All of the above
Question # 88
Thin Client Model places a heavy processing load on……
Only Server
Only Network
Both Server and Network
Neither server nor network
Question # 89
Zero install architecture does not need any installation on ____________.
Server side
Client side
Client & Server Side
None of the above
Question # 90
Data-Centered Architectural Style is also called ….
Repository model
Client Server model
Sub system model
Reference model
Question # 10 of 10 ( Start time: 10:08:32 PM ) Total Marks: 1
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design ok
product planning
information strategy planning
Question # 9 of 10 ( Start time: 10:30:01 PM ) Total Marks: 1
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design ok
product planning
information strategy planning
Question # 10 of 10 ( Start time: 10:30:26 PM ) Total Marks: 1
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
Question # 7 of 10 ( Start time: 10:48:03 PM ) Total Marks: 1
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software ok
Logical Data
Utility Software
Question # 8 of 10 ( Start time: 10:48:44 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Unrelated variables should be declared in the same statement.
True
False
which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2.
(1) and (3) only
(2) and (3) only
(1) and (2) only
All produce the same result
Goto statements violate the idea of.
object oriented code
structured code
control structure
repetition structure
MVC pattern was based on the --------------- pattern.
Observer
Structural
Behavioral
None of given
Which one is correct?
double total = 0.5;
double total = .5;
double total = .50;
all of the given
Code should not be:
commented
indented
cryptic
aligned
Global variables in C++ should always be referred to by using the.
:: operator
: operator
Without an operator
None of the given
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model.
View Controller pattern
Smalltalk
PASCAL
JAVA
C++
Question # 9 of 10 ( Start time: 10:49:45 PM ) Total Marks: 1
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Question # 10 of 10 ( Start time: 10:50:43 PM ) Total Marks: 1
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system.
the system’s functionality for a particular purpose. ok
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 5 of 10 ( Start time: 03:39:59 PM ) Total Marks: 1
The context diagram is used as the top level abstraction in a _______ developed according to principles of structured analysis.
Select correct option:
Dataflow diagram *
Activity Diagram
State Transition Diagram
USe Case Diagram
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 6 of 10 ( Start time: 03:40:59 PM ) Total Marks: 1
Which one is not a part of Software Development phase ?
Select correct option:
Construction
Scope * (plz check)
Project Vision
Definition
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 7 of 10 ( Start time: 03:42:17 PM ) Total Marks: 1
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software *
Logical Data
Utility Software
Quiz Start Time: 03:35 PM
Time Left 89
sec(s)
Question # 8 of 10 ( Start time: 03:43:07 PM ) Total Marks: 1
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo *
Quiz Start Time: 03:35 PM
Time Left 90
sec(s)
Question # 9 of 10 ( Start time: 03:43:56 PM ) Total Marks: 1
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design *
product planning
information strategy planning
Quiz Start Time: 03:35 PM
Time Left 89
sec(s)
Question # 10 of 10 ( Start time: 03:44:54 PM ) Total Marks: 1
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor *
Component
Relation
A test case involves
Input/output specification plus a statement of the function under testSteps to perform the function
Expected results that the software application produces
All of the given options
Input/output specification plus a statement of the function under testSteps to perform the function
Expected results that the software application produces
All of the given options
The C/C++ language has not specified whether ____ is arithmetic or logical.
Right shift >>Right shift <<
&&
||
Right shift >>Right shift <<
&&
||
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ------------
Validated
Corrected
Checked
Traced
The raising of the imaginary error flag is simply called raising or ________ an error.
Catching
Casting
Throwing
None of given options
struct packed_struct { unsigned int f1:1; } pack; Here in "packed_struct":
value of f1 = 1
size of f1 = 1 bit
value of f1 should not exceede 1
None of given options
The idea behind exception handling is to raise some error flag every time ________.
The code compiles
The code links
Memory is allocated
Something goes wrong
Bit fields allow the packing of data in a structure. using Bit fields we can:
Read 9 bit integers
avoid memory leakages
avoid memory overflow
Avoid syntax errors
The order in which bytes of one word are stored is _________ dependent.
hardware
software
language
syntax
A __________ is a variance from a desired product attribute.
Exception
Error
Mistake
Defect
The C/C++ language does not define the alignment of items within.
structures
classes
unions
All of the given options
The raising of the imaginary error flag is simply called raising or ________ an error
Catching
Casting
Throwing
None of given options
Consider the following statement: int a,b=10; Which of the following is correct:variable "a" is initialized to 10
Variable "b" is initialized to 10
Both variables "a" and "b" are initialized to 10
variables can not be initialized this way
Exception handling is a powerful technique that separates error-handling code from ______ code.
Normal
Faulty
Buggy
Complex
Bit fields are a convenient way to express many difficult operations. However, bit fields suffer from one problem.
Lack of usability
Lack of security
Lack of performance
Lack of portability
The complexity of a program may ______ if there are exceptional paths in it
Decrease
Increase
Remain same
All of given options
When an error is thrown the overall system (on the lookout for this error flag) responds by ______ the error.
Ignoring
Casting
Catching
All of the given options(Not Sure)
Comments are not syntax checked
TRUE
FALSE
TRUE
FALSE
Modularity is a tool that can help us in increasing the size of individual functions, making them less readable.
True
False
True
False
Zero install architecture does not need any installation on ____________.
Server side (not Sure)
Client side
Client & Server Side (Not Sure)
None of the above
Data-Centered Architectural Style is also called …..
Repository model
Client Server model
Sub system model
Reference model
Data-Centered Architectural Style is also called ….
Repository model
Client Server model
Sub system model
Reference model
Question No: 25 ( Marks: 1 ) – Please choose one
Which of the following interaction style best suit the design of an interface for visually impaired users?
► direct manipulation
► direct manipulation
► natural language
► command line
Question No: 26 ( Marks: 1 ) – Please choose one
Which of the following testing involve purely black box testing?
► unit testing, beta testing
► acceptance testing, interface testing
► beta testing, acceptance testing
► integration testing, interface testing
CS504 - Software Engineering - Imcqs solved CS504 - Software
Engineering - Iquiz mega file CS504
- Software Engineering - Imidterm solved papers 2017 CS504 - Software
Engineering - Isolved mcqs mega file CS504 - Software
Engineering - Imidterm solved papers 2016 CS504 - Software
Engineering - I midterm papers CS504 - Software
Engineering - Ifinal term solved mcqs mega file CS504 - Software
Engineering - I handouts CS504
- Software Engineering - Ilectures CS504 - Software
Engineering - I assignment CS504
- Software Engineering - Ihandouts CS504 - Software
Engineering - I assignment solution 2018 CS504 - Software
Engineering - Ippt slides CS504
- Software Engineering - Iassignment no 2 solution 2018 CS504 - Software
Engineering - Imidterm solved papers by moaaz CS504 - Software
Engineering - Ifinal term solved mcqs by moaaz