Vu All Subjects Assignment Quiz GDB Handouts Available here
Dear Students
Quiz No. 3 (Graded) will be opened from Monday 30 January 2023 to Tuesday 31 January 2023.
This quiz will be from Lecture # 17 to 36 and consist of 15 Multiple Choice Questions. It will remain open for 48 hours.
All
the instructions for solving MCQs will provide in the Quiz interface,
and you are required to make sure that you have read those instructions
before attempting Quiz.
If any student fails to attempt the quiz within the given time, then no re-take or offline quiz will be held.
Note: Quiz No.3 weightage is 50% because quiz No. 4 has been cancelled and its weight-age is merged in quiz No.3.
Verification and validation are the processes in which we check a product against its _________ and the __________ of the users who will be using it
specifications, expectations
The process that involves verification of product with respect to its written requirements is called _________.
The number __________ is the most abused symbol in programs written in C or C++.
0
In the architecture trade-off analysis method the architectural style should be described using the
data Flow view , module view and process view
To determine the architectural style or combination of styles that best fits the Proposed system, requirements engineering is used to uncover
How can we implement generalization in Object Oriented
programming languages?
Inhe r ita nce
Variables should be initialized where they are ------and
they should be declared in the ------scope possible.
declared and smallest
Global variables in C++ should always be referred to by
using the
: operator
In Client server model, the application is modeled as a set
of .....that are provided by servers.
Services
The criteria used to assess the quality of an architectural
design should be based on system
accessibility and reliability
The form for (;;)
should be used for
empty loop
While establishing the services for an object, the goal is to keep data and action together for
________ coupling and ________ cohesion.
Lower, Higher
Which one of these represents the Krutchen’s 4+1
architectural view model?
Logical view, Process view, Physical view, Development view,
Sequence view
A __________ is a variance from a desired product attribute.
Defect
Bit fields are a convenient way to express many difficult
operations. However, bit fields suffer from one problem
Lack of portability
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=0.0;
In sequence diagram, the objects are organized in a
_____________ line and the events in a __________ time line.
Horizontal, vertical
The order in which bytes of one word are stored is _________
dependent
Hardware
_________ cause major portability issues
Sizes of data types
Goto statements violate the idea of
structured code
In "Point of Sale system", the term
"Payment" represents
Transaction
if a major rework is required to translate a program written
for one environment to another, it means code is not or less _________
Portable
A "register" in "Point of sale system"
is an example of:
Tangible thing
Consider the following statement:
int a,b=10;
Which of the following is correct:
Variable "b" is initialized to 10
It causes side effects
When an error is thrown the overall system (on the
lookout for this error flag) responds by _
Catching
Architectural design process involves performing a number
of activities which includes system structuring, control modeling and _______ .
Modular Decomposition
In Collaboration diagrams, sequence of messaging is shown
by _______________.
Sequence diagrams are best to see the flow of time. On the
other hand, static object connections are best represented by collaboration
diagrams. Sequence of messages is more difficult to understand in collaboration
diagrams than in the case of sequence diagrams. On the other hand, object
organization with control flow is best seen through collaboration diagrams. It
may be noted that complex control is difficult to express anyway but
collaboration diagrams can become very complex very quickly.
A necessary supplement to transform or transaction
mapping needed to create a complete architectural design is
processing narratives for each module
Code should not be:
Switch statement is equal to ___________ statement.
if-else if
Which one of these represents the Krutchen’s 4+1
architectural view model?
Logical view, Dynamic view, Physical view, Development
view, Use case view
A function should not be larger in any case and should
not exceed ______ in length .
One page
Which one is correct?
double total = 0.5;
Identify the TRUE statement:
Size of control structures vary from one machine to other
The greatest advantage of exception handling is its ability
to handle:
Asynchronous errors
In Object oriented design, combining the services offered by
an object with the attributes they work on, results in:
a. Lower coupling and stronger cohesion
b. Lower cohesion and stronger coupling
c. Increased likelihood of reuse
d. Decreases the modularity of the system
a and c
Which of the following shows a commented statement in C++
// Ans = first + second
Client server is a ______________ system model.
Distributed
Performance, Security and maintainability are the types
of ________ requirements.
Non-Functional
In sequence diagram, the objects are organized in a
_____________ line and the events in a __________ time line.
Horizontal, vertical
Dynamic process model shows the
process _____ of the system.
Structure….confirm
Physical view in Krutchen’s 4+1
architectural view model captures ______.
Mapping of the software onto the
hardware and reflects is distributed
aspect…..confirm
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 options
correct….confirm
Using proper paranthesis normally
makes the code.
All options correct…..confirm
An arrow in data flow diagram
represents:
Direction of flow of
data…..confirm
The system model template contains
which of the following elements.
Input/output
A context diagram:
Is a DFD which gives an overviews
of the system…..confirm
In _________ phase of software
development requirement analyst focuses on
possible design of the proposed
solution
Definition
. System _____ are built to allow
the system engineer to evaluate the system
components in relationship to one
another.
Models….confirm
_____ diagram does not capture
control flow information, it just shows the flow of
the data in a system
Data flow diagram…..confirm
In data flow diagram (DFD),
Create, Update, delete and read operations are
normally called.
CRUD operation…..confirm
More powerful hardware resulted
into the development of _ powerful and _____
software.
More,complex…..confirm
Which elements of business
processing engineering are the responsibilities of the
software engineer?
Business system design…..confirm
10. The use case diagram shows
that which ____ interact with each use case.
Actor…..confirm
11. A prototype is not the real
product but just a real looking ________ of what would
be eventually delivered and might
not do anything useful
Mock-up……confirm
12. A _________ is not the real
product but just a real looking mock-up of what would
be eventually delivered.
Prototype……confirm
13. In data flow diagram the
entity or system outside the boundary of this system is
called
External Agent….confirm
The project manager would need _
document to monitor and track the progress of
the project and if needed.
Requirement….confirm
15. By leveling a DFD(adding more
levels of abstraction) we mean
Splitting it into different
levels……confirm
16. Data cannot flow from one
external entity to other external entity because
It is not allowed in DFD…..confirm
17. A __ is not the real product
but just a real looking mock up of what would be
eventually delivered.
Prototype…..confirm
18. A context diagram is used
As an aid to system
design….confirm
_________ the analyst determines
all the sources of requirements and where do
these requirements consume.
Source and sink analysis…..confirm
20. ______ is a technique that can
be used to reduce customer dissatisfaction at the
requirement stage.
Prototyping ,,,,confirm
21. An external entity that
interacts with the system is called a(n):
Actor…..confirm
22. At which stage of software
development loop results are delivered?
Status quo…..confirm
23. Requirement engineering mainly
deals with the _____ of the system
Definition phase…..confirm
24. A use case represents
___ requirements are often called
products features.
Non-functional……confirm
26. All the documents related to
the software are also considered as part of the ______.
Software….confirm
27. Include and extend
relationship is used in UML notation of a/an_______.
Use case model…..confirm
A DFD is normally leveled (adding
more levels of abstraction) as
It is easier to read and
understand a number of smaller DFDs than one
large DFD…..confirm
29. From the following which
is/are not the example(s) of illegal data flow in data flow
diagram.
There must be an intermediate
process which should transform data received
from one external entity and then
send the transformed data to the other external
entity….confirm
30. In data flow diagram (DFD)
data flow can
Originate and terminate in an
external entity….confirm
31. To construct a system model
the engineer should consider one of the following
restraining factors?
Assumptions and
constraints…..confirm
. In a top-down system analysis
a/an _ is required to develop high level view of the
system at first
Analyst……confirm
33. In data flow diagram (DFD) one
data store cannot directly copy the data from
another ______.
Data store…..confirm
34. ______ of the total cost of
the software development is spent on maintenance.
Two third….confirm
35. The system specification
describes the
Function and behavior of a computer-based
system…..confirm
In software engineering paradigm,
any engineering approach must be founded on
organizational commitment to
________.
Quality…..confirm
37. Which one is not a part of
software development phase?
Project Vision….confirm
38. A process in Data flow diagram
(DFD) represents
Transmission of data…..confirm
39. In use case diagram, an
ellipse signifies an
Use case…..confirm
. Which of the given component of
software engineering framework provides
different techniques that can be
used to perform a particular task.
Method…..confirm
41. Which of the given component
of software engineering framework demands
rational and timely development of
a software?
Quality focus….confirm
42. Arranging information in
______ form makes it easy to read, understand and
comprehend as compared to streams
of text.
Tabular ….confirm
43. The data on which the program
operates is also considered as part of the ______.
Software…..confirm
44. Construction activities are
directly related to software ________.
Construction or Development….both
are confirm
Many of the problems encountered
in Software development are attributed to
shortcoming in ________.
Requirement gathering……confirm
46. ____ component of software
engineering framework provides automated or semiautomated support in a software
development
Tools…..confirm
47. Use case construction is a
technique used for
Requirements structuring…..confirm
48. The context diagram is used as
the top level abstraction in a _ developed according
to principles of structured
analysis.
Dataflow diagram…..confirm
Which one of the following is the
external quality of a software product.
Low coupling…..confirm
50. A software requirement
document describes all the ___ provided by the system
along with the constraints under
which it must operate.
Services….confirm
51. If you try to make software
more user-friendly then the ________ may suffer.
Effiency……confirm
52. According to caper jones
analysis of project activities coding only has _____ affect
part in software development
13-14%.....confirm
53. In ________ phase of software
development, requirement engineer focuses on
realizing the business object of
an under developed product
development…..confirm
Which statement is not according
to the software engineering principles? Software
engineering is an __________.
Unsystematic approach…..confirm
55. The architecture components
for product engineering are
Data, hardware, software,
people…..confirm
56. ___________ structure
represents the internal organization of the various data and
control items.
Data….confirm
57. The process of utilizing our
knowledge of computer science in effective production
of software system is called.
Software Engineering…confirm
58. __ are kind of umbrella
activities that are used to smoothly and successfully
perform the connection activities.
Management activites…..confirm
Software Engineering in the
combination of tools techniques and ______.
Processes…..confirm
60. In use case diagram, the scope
of the system is defined by
System boundary…..confirm
61. The ___ relationship is kind
of a generalization specialization relationship.
Extends….confirm
62. Data cannot flow from one
external entity to other external entity because:
It is not allowed in DFD…..confirm
63. The best way to conduct a
requirements validation review is to.
Use a checklist of questions to
examine each requirement….confirm
64. External entity may be
Which of the following is used for
multi level commenting?
/*Comment*/….confirm
66. Return values in Synchronous
messages are represented by
A dotted line with label….confirm
67. __________ is a role that each
actor plays in the system under.
Participant…..confirm
68. Modules with high cohesion and
low coupling can be treated and analyzed as.
Black boxes……confirm
Any Engineering approach must be
founded on organizational commitment to
_______.
Quality….confirm
70. Return values in synchronous
messages are: (V.V.V)
May not used when response is
obvious…..confirm
71. According to Caper Jones
analysis of project activities, coding only has _____ affect
part in system development.
13-14%...confrim
72. In multi-threaded or
multiprocessing applications where different execution threads
may pass information to one
another by sending _______ to each other.
Asynchronous messages…..confirm
73. Which of the following is not
among the four layers of the object-oriented pyramid?
The abstract layer……confirm
74. System models include(V.V.V)
All options….confirm
In the architecture trade-off
analysis method the architectural style should be
described using the.
All options…confirm
76. _________ is concerned with
decomposing the system into interacting sub-system.
System structuring…..confirm
77. Software development is a
step-by-step process and in _____ phase of software
development Business Objective of
an organization gets cleared.
Vision….confirm
78. When two components of a
system are using the same global data area, they are
related as.
Content coupling….confirm
79. The goal of _____ is to
translate the customer’s desire for a set of defined
capabilities into a working
product.
Product engineering….confirm
80. The condition that must be met
before the use case can be invoked, is called
Precondition…..confirm
81. In software engineering
paradigm any engineering approach must be founded an
organizational commitment to
_______.
Quality ……confirm
82. There are _______ most
important characteristics of an object.
Three….confirm
83. __________ requirements cause
frequent modifications in user interface
Unstable….confirm
84. Prototyping is used when there
is _______ regarding requirements.
Uncertainty…confirm
85. UML is a language for
Modeling and design…confirm
86. UML stands for _______.
Unified Modeling Language.
87. Requirement engineering
focuses on ____________ aspect of the software
development process.
What….confirm
88. Many of the problems
encountered in Software development are attributed to
shortcoming in _________.
Requirement gathering and
documentation process…..confrim
89. In object Oriented design
_____ layer contains the details that enable each object to
communicate with its
collaborators.
Message….confrim
90. In Object Oriented design
_______ layer contains a representation of each of the subsystem that enable
the software to achieve its customers defined requirements and to implement the
technical infrastructure that supports customer requirements.
Subsystem….confirm
91. In object oriented design
______ layer contains the class hierarchies that enable the system to be
created using generalization and increasingly more targeted specializations.
Class and object layer…..confrim
92. In object oriented design
_______ layer contains the data structures and algorithmic
design for all attributes and
operations for each object.
Responsibility …..confrim
93. Normally a system will be more
easy to modify if its modulus have:
Low coupling and high
cohesion….confirm
94. The best way to conduct a
requirements validation review is to.
Use a checklist of question to
examine each requirement….confrim
95. Software design discusses
_______ aspect of software development.
How….confirm
96. Software Engineering is the
combination of tools, techniques and ______.
Processes….confrim
97. _______ requirements cause
frequent modifications in user interface.
Unstable…..confirm
98. In abbot’s Textual analysis
technique, different parts of speech are identified within
the text of the specification and
these parts are modeled using different ______.
Components…..confrim
99. Which statement is not
according to the software engineering principles? Software
engineering is a(n)_______.
Unsystematic approach…..confrim
100. OOD results in a design that
achieves a number of different
levels of ______.
Modularity…..confrim
101. The architecture components
for
product engineering are
Data, hardware, software,
people….confrim
102. GUI stands for _____.
Graphical User interface…..confirm
103. In the case of ______ intra
component linkages are stronger
white inter component linkages are weak.
Low coupling……confirm
104. In the case of _________
module
boundaries are not well defined as
everything seems to be connected with everything
else.
Highly coupled system……confirm
105. A prototype is not the real
product. It is rather just a real
looking ______ of what would be eventually
delivered and might not do
anything useful.
Mock-up…..confirm
106. Coupling is a measure of
________ of a module or component.
Independence……confirm
107. In UML, based object Oriented
model of a system the demand sign
is used to depict ________ relations between two
objects/classes.
Composition and
Aggregation……confirm
108. _____ and ______ are
important
short circuiting logical
operators.
a.And b. OR c. Not d. NOR
a & b….confirm
109. One of the main reasons to
make
functions is ________.
Reusability…..confrim
110. Is prefix should be used for
_____ variables and methods.
Boolean…..confrim
111. The terms get/set must be
used
where an ________ is accessed
directly.
Attribute……confirm
112. Code should not be.
Commented…..confirm
113. The size of _________ plays a
significant role in making the
program easy or difficult to understand
Individual functions……confirm
114. _______ is a tool that can
help us
in reducing the size of individual
functions.
Modularity…..confrim
115. N-tier architecture stems
from
the struggle to find a ______
between the fat-client architecture and the thin-client
architecture.
Middle ground……confirm
116. For (i=0, col = 0; i<27;
i++, j++).
In the above line of the code, 27
is representing________.
Constant…..confrim
In case of using unrelated
operators in a single
expression______ would be the best choice to prevent the
logical errors.
Parenthesize….confrim
118. In the switch statement,
cases
should always end with a ____
statement.
Break….confirm
119. Floating point constants
should
always be written with decimal
point and at least.
One decimal….confrim
120. In case of header files
construction is to avoid __
errors. The construction should appear in the top of the
file ( before the file header).
Compilation……confirm
121. Names representing methods
and functions should be ___ and
written in mixed case starting with ______ case.
Verbs, lower….confrim
Names representing types must
be nouns and written in mixed case
starting with ______.
Upper case….confrim
123. Variable names must be in
mixed case starting with
_________.
Lower case….confrim
124. Names representing constants
must be all uppercase using
underscore to ______ words.
Separate….confrim
125. Names representing template
types in C++ should be a ________
letter.
Single uppercase…..confirm
126. Global variables in C++
should
always be referred to by using the
_____ operator.
( :: ) …..confrim
127. Private class variable should
have _________ suffix.
Underscore( _ )…..confirm
MVC stands for
Model View Controller….confirm
----
An external entity that interacts with a system is called a(n):
Actor
_________ requirements are often called product features.
Developer
An arrow in data flow diagram represents:
Direction of flow of data…..confirm
The system model template contains which of the following elements.
Input/output
A context diagram:
Is a DFD which gives an overviews of the system…..confirm
In _________ phase of software development requirement analyst focuses on possible design of the proposed solution
Definition
System _____ are built to allow the system engineer to evaluate the system components in relationship to one another.
Models….confirm
_____ diagram does not capture control flow information, it just shows the flow of the data in a system
Data flow diagram…..confirm
In data flow diagram (DFD), Create, Update, delete and read operations are normally called.
CRUD operation…..confirm
More powerful hardware resulted into the development of _ powerful and _____ software.
More,complex…..confirm
Which elements of business processing engineering are the responsibilities of the software engineer?
Business system design…..confirm
The use case diagram shows that which ____ interact with each use case.
Actor…..confirm
A prototype is not the real product but just a real looking ________ of what would be eventually delivered and might not do anything useful
Mock-up……confirm
A _________ is not the real product but just a real looking mock-up of what would be eventually delivered.
Prototype……confirm
In data flow diagram the entity or system outside the boundary of this system is called
External Agent….confirm
The project manager would need _ document to monitor and track the progress of the project and if needed.
Requirement….confirm
By leveling a DFD(adding more levels of abstraction) we mean
Splitting it into different levels……confirm
Data cannot flow from one external entity to other external entity because
It is not allowed in DFD…..confirm
A __ is not the real product but just a real looking mock up of what would be eventually delivered.
Prototype…..confirm
A context diagram is used
As an aid to system design….confirm
_________ the analyst determines all the sources of requirements and where do these requirements consume.
Source and sink analysis…..confirm
______ is a technique that can be used to reduce customer dissatisfaction at the requirement stage.
Prototyping ,,,,confirm
At which stage of software development loop results are delivered?
Status quo…..confirm
Requirement engineering mainly deals with the _____ of the system
Definition phase…..confirm
A use case represents
The role a user plays when interacting with the system….confirm
___ requirements are often called products features.
Non-functional……confirm
All the documents related to the software are also considered as part of the ______.
Software….confirm
Include and extend relationship is used in UML notation of a/an_______.
Use case model…..confirm
A DFD is normally leveled (adding more levels of abstraction) as
It is easier to read and understand a number of smaller DFDs than one large DFD…..confirm
From the following which is/are not the example(s) of illegal data flow in data flow diagram.
There must be an intermediate process which should transform data received from one external entity and then send the transformed data to the other external entity….confirm
In data flow diagram (DFD) data flow can
Originate and terminate in an external entity….confirm
To construct a system model the engineer should consider one of the following restraining factors?
Assumptions and constraints…..confirm
In a top-down system analysis a/an _ is required to develop high level view of the system at first
Analyst……confirm
In data flow diagram (DFD) one data store cannot directly copy the data from another ______.
Data store…..confirm
______ of the total cost of the software development is spent on maintenance.
Two third….confirm
The system specification describes the
Function and behavior of a computer-based system…..confirm
In software engineering paradigm, any engineering approach must be founded on organizational commitment to ________.
Quality…..confirm
Which one is not a part of software development phase?
Project Vision….confirm
A process in Data flow diagram (DFD) represents
Transmission of data…..confirm
In use case diagram, an ellipse signifies an
Use case…..confirm
Which of the given component of software engineering framework provides different techniques that can be used to perform a particular task.
Method…..confirm
Which of the given component of software engineering framework demands rational and timely development of a software?
Quality focus….confirm
Arranging information in ______ form makes it easy to read, understand and comprehend as compared to streams of text.
Tabular ….confirm
The data on which the program operates is also considered as part of the ______.
Software…..confirm
Construction activities are directly related to software ________.
Construction or Development….both are confirm
Many of the problems encountered in Software development are attributed to shortcoming in ________.
Requirement gathering……confirm
____ component of software engineering framework provides automated or semi-automated support in a software development
Tools…..confirm
Use case construction is a technique used for
Requirements structuring…..confirm
The context diagram is used as the top level abstraction in a _ developed according to principles of structured analysis.
Dataflow diagram…..confirm
Which one of the following is the external quality of a software product.
Low coupling…..confirm
A software requirement document describes all the ___ provided by the system along with the constraints under which it must operate.
Services….confirm
If you try to make software more user-friendly then the ________ may suffer.
Effiency……confirm
According to caper jones analysis of project activities coding only has _____ affect part in software development
13-14%.....confirm
In ________ phase of software development, requirement engineer focuses on realizing the business object of an under developed product
development…..confirm
Which statement is not according to the software engineering principles? Software engineering is an __________.
Unsystematic approach…..confirm
The architecture components for product engineering are
Data, hardware, software, people…..confirm
___________ structure represents the internal organization of the various data and control items.
Data….confirm
The process of utilizing our knowledge of computer science in effective production of software system is called.
Software Engineering…confirm
__ are kind of umbrella activities that are used to smoothly and successfully perform the connection activities.
Management activites…..confirm
Software Engineering in the combination of tools techniques and ______.
Processes…..confirm
In use case diagram, the scope of the system is defined by
System boundary…..confirm
The ___ relationship is kind of a generalization specialization relationship.
Extends….confirm
Data cannot flow from one external entity to other external entity because:
It is not allowed in DFD…..confirm
The best way to conduct a requirements validation review is to.
Use a checklist of questions to examine each requirement….confirm
External entity may be
Source of input data only…..confirm
Which of the following is used for multi level commenting?
/*Comment*/….confirm
Return values in Synchronous messages are represented by
A dotted line with label….confirm
__________ is a role that each actor plays in the system under.
Participant…..confirm
Modules with high cohesion and low coupling can be treated and analyzed as.
Black boxes……confirm
Any Engineering approach must be founded on organizational commitment to _______.
Quality….confirm
Return values in synchronous messages are: (V.V.V)
May not used when response is obvious…..confirm
According to Caper Jones analysis of project activities, coding only has _____ affect part in system development.
13-14%...confrim
In multi-threaded or multiprocessing applications where different execution threads may pass information to one another by sending _______ to each other.
Asynchronous messages…..confirm
Which of the following is not among the four layers of the object-oriented pyramid?
The abstract layer……confirm
System models include(V.V.V)
All options….confirm
In the architecture trade-off analysis method the architectural style should be described using the.
All options…confirm
_________ is concerned with decomposing the system into interacting sub-system.
System structuring…..confirm
Software development is a step-by-step process and in _____ phase of software development Business Objective of an organization gets cleared.
Vision….confirm
When two components of a system are using the same global data area, they are related as.
Content coupling….confirm
The goal of _____ is to translate the customer’s desire for a set of defined capabilities into a working product.
Product engineering….confirm
The condition that must be met before the use case can be invoked, is called
Precondition…..confirm
In software engineering paradigm any engineering approach must be founded an organizational commitment to _______.
Quality ……confirm
There are _______ most important characteristics of an object.
Three….confirm
__________ requirements cause frequent modifications in user interface
Unstable….confirm
Prototyping is used when there is _______ regarding requirements.
Uncertainty…confirm
UML is a language for
Modeling and design…confirm
UML stands for _______.
Unified Modeling Language.
Requirement engineering focuses on ____________ aspect of the software development process.
What….confirm
Many of the problems encountered in Software development are attributed to shortcoming in _________.
Requirement gathering and documentation process…..confrim
In object Oriented design _____ layer contains the details that enable each object to communicate with its collaborators.
Message….confrim
In Object Oriented design _______ layer contains a representation of each of the subsystem that enable the software to achieve its customers defined requirements and to implement the technical infrastructure that supports customer requirements.
Subsystem….confirm
In object oriented design ______ layer contains the class hierarchies that enable the system to be created using generalization and increasingly more targeted specializations.
Class and object layer…..confrim
In object oriented design _______ layer contains the data structures and algorithmic design for all attributes and operations for each object.
Responsibility …..confrim
Normally a system will be more easy to modify if its modulus have:
Low coupling and high cohesion….confirm
The best way to conduct a requirements validation review is to.
Use a checklist of question to examine each requirement….confrim
Software design discusses _______ aspect of software development.
How….confirm
Software Engineering is the combination of tools, techniques and ______.
Processes….confrim
_______ requirements cause frequent modifications in user interface.
Unstable…..confirm
In abbot’s Textual analysis technique, different parts of speech are identified within the text of the specification and these parts are modeled using different ______.
Components…..confrim
Which statement is not according to the software engineering principles? Software engineering is a(n)_______.
Unsystematic approach…..confrim
OOD results in a design that achieves a number of different levels of ______.
Modularity…..confrim
The architecture components for product engineering are
Data, hardware, software, people….confrim
GUI stands for _____.
Graphical User interface…..confirm
In the case of ______ intra component linkages are stronger white inter component linkages are weak.
Low coupling……confirm
In the case of _________ module boundaries are not well defined as everything seems to be connected with everything else.
Highly coupled system……confirm
A prototype is not the real product. It is rather just a real looking ______ of what would be eventually delivered and might not do anything useful.
Mock-up…..confirm
Coupling is a measure of ________ of a module or component.
Independence……confirm
In UML, based object Oriented model of a system the demand sign is used to depict ________ relations between two objects/classes.
Composition and Aggregation……confirm
_____ and ______ are important short circuiting logical operators.
a.And b. OR c. Not d. NOR
a & b….confirm
One of the main reasons to make functions is ________.
Reusability…..confrim
Is prefix should be used for _____ variables and methods.
Boolean…..confrim
The terms get/set must be used where an ________ is accessed directly.
Attribute……confirm
Code should not be.
Commented…..confirm
The size of _________ plays a significant role in making the program easy or difficult to understand
Individual functions……confirm
_______ is a tool that can help us in reducing the size of individual functions.
Modularity…..confrim
N-tier architecture stems from the struggle to find a ______ between the fat-client architecture and the thin-client architecture.
Middle ground……confirm
For (i=0, col = 0; i<27; i++, j++). In the above line of the code, 27 is representing________.
Constant…..confrim
In case of using unrelated operators in a single expression______ would be the best choice to prevent the logical errors.
Parenthesize….confrim
In the switch statement, cases should always end with a ____ statement.
Break….confirm
Floating point constants should always be written with decimal point and at least.
One decimal….confrim
In case of header files construction is to avoid __ errors. The construction should appear in the top of the file ( before the file header).
Compilation……confirm
Names representing methods and functions should be ___ and written in mixed case starting with ______ case.
Verbs, lower….confrim
Names representing types must be nouns and written in mixed case starting with ______.
Upper case….confrim
Variable names must be in mixed case starting with _________.
Lower case….confrim
Names representing constants must be all uppercase using underscore to ______ words.
Separate….confrim
Names representing template types in C++ should be a ________ letter.
Single uppercase…..confirm
Global variables in C++ should always be referred to by using the _____ operator.
( :: ) …..confrim
Private class variable should have _________ suffix.
Underscore( _ )…..confirm
MVC stands for
Model View Controller….confirm
Modules with high cohesion and low coupling can be treated and analysed as
- White boxes
- black boxes
- grey boxes
- none of these
While establishing the services for an object, the following fundamental questions should be asked:
- Why does the system need this object anyway?
- What useful questions can it answer?
- What useful action can it perform?
- All of the given options.
—————is a role that each actor plays in the system under consideration.
- An act
- A participant
- A function
- None of the given
Any Engineering approach must be founded on organizational commitment to —————.
- Cost
- Scheduling
- Quality
- Performance
Return values in synchronous massages are:
- Compulsory
- May not used when response is obvious
- Not used at all
- Represented by solid lines
According to Caper Jhones analysis of project activities, coding only has ——- affect part in system development.
- 13-14%
- 36-40%
- 50-60%
- 70-80%
Normally a system is more easy to modify if its modules have
- High coupling and high cohesion
- High coupling and low cohesion
- Low coupling and high cohesion
- Low coupling and Low cohesion
In multi-threaded or multiprocessing applications where different execution threads may pass information to one another by sending —————————to each other.
- Interrupt calls
- Synchronous messages
- Asynchronous messages
- System Calls
Which of the following is not among the four layers of the object-oriented pyramid?
- The subsystem layers
- The class and object layer
- The abstract layer
- The message layers
System models include:
- User business processes
- User activities for conducting the business process
- Processes that need to be automated
- All of the given options
In the architecture trade-off analysis method the architectural style should be described using the
- Data flow view
- Module view
- Process view
- All of the given
—————- is concerned with decomposing the system into interacting sub-systems.
- System structuring
- Control Modelling
- Molecular Decomposition
- None of the given
A use case represents:
- 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
External entity may be:
- Source of input data only
- Source of input data and destination of results
- Destination of results
- Repository of data
The process of utilizing our knowledge of computer science in effective production of
———————–.
- Chemical Engineering
- Electrical Engineering
- Computer Engineering
- System Engineering
Coupling is a measure of ————- of a component.
- Independence
- Dependence
- Aggregation
- Composition
—————— has become a standard notation for object-oriented system modelling:
- UML
- C++
- OCL(Object Constraint Language)
- None of the given option
An arrow in data flow diagram represents:
- Direction of flow of data
- Processing of data
- External agent
- Internal Agent
——————- diagrams does not capture control flow information, it just shows the flow of data in a system.
- Sequence
- Data Flow
- Activity
- Class
In ————- the analyst determines the source of requirements and where do these requirements consume:
- Data flow analysis
- Source and sink analysis
- Down parsing
- Up parsing
Data cannot flow from one external entity to other external entity because:
- It will get corrupted
- It is not allowed in DFD
- An external entity has no mechanism to read or write
- Both are outside the context of the system
In the functional design, the structure of the system resolves around:
- Objects
- Properties
- Functions
- All of the given options
————— is one of the techniques to document domain knowledge
- State transition diagram
- Feasibility matrix
- System matrix
- None of the given options
In case of —————– approach , decomposition of a problem revolves around data.
- Object-Oriented
- Action-Oriented
- Event-Oriented
- Process-Oriented
The —————– relationship is a kind of a generalization specialization relationship:
- Bit-Byte
- Uses
- Binary
- Extends
Which statement is not true about system software?
- Change request has direct impact on software
- Passes through a constant process of evolution
- Change requests have direct impact in the form of defects
- None of the given
Strong cohesion implies that:
- All parts of a component have a close logical relationship with each other
- All parts of a component don’t have a close relationship with each other
- Component is dynamic in nature
- Component is static in nature
The intent of Object-Oriented Analysis(OOA) is to define:
- All classes
- Relationships among classes
- Behaviour of classes
- All of the given options
Requirement engineering focuses on —————– aspect of the software development process.
- Both what and how
- What
- How
- Why and how
—————— relationship is concerned with classes, not with class instantiates.
- Association
- Inheritance
- Aggregation
- Composition
Which of the following statements are true in context of the object model deviation through the Coad methodology?
- A place is also a contains
- Every container needs to be a place
- Same person may play different times in the system.
- A only
- A and b
- A and c
- All of the given
The goal of ———- is to translate the customer’s desire for a set of defined capabilities into a working product.
- Electrical engineering
- Product engineering
- Hardware engineering
- Mechanical engineering
In case of a ——- message, the called routine that handles the message is completed before the caller resumes execution.
- Synchronous
- Asynchronous
- Bidirectional
- A only
- B only
- C only
- All of the given
In multiprocessing applications, different execution threads may pass information to one another by sending ——- to each other.
- Interrupt calls
- Synchronous messages
- Asynchronous messages
- System calls
A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power engine”
The above statement is example of:
- Whole-part relationship
- Inheritance
- Specialization
- Generalization
To help separate an object’s external behaviour from its implementation, the technique used is called ——-
- Generalization
- Association
- Composition
- Abstraction
Sequences of messages can be present in:
- Use case diagram
- Sequence diagram
- Collaboration diagram
- a only
- b only
- c only
- b and c
Which of the following strategies lead to good software design:
- Separation of concerns
- Modularity
- Divide-and-conquer
- All of the given options
Data flow model:
- 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
——- requirements are often called product features.
- Functional
- Non-functional
- Developer
- User
In the functional design, the structure of the system revolves around.
- Objects
- Properties
- Functions
- All of the given option
The first step in any OOA process model is to
- Build an object-relationship model.
- Define collaborations between objects.
- Elicit customer requirements
- Select a representation language
The —— relationship is kind of a generalization specialization relationship.
- Bit-byte
- Uses
- Binary
- Extends
Regarding data flow model, which of the following statement(s) is true:
- It captures the transformation of data between processes/functions of a system
- Processes on a data flow can operate in parallel
- Only those processes are represented which we need to automate
- All of the given option
————— is an extremely powerful technique for dealing with complexity.
- Aggregation
- Abstraction
- Inheritance
- Association
In “point of sale system”. the term “payment” represents
- Actor
- Participant
- Transaction
- Container
The architecture components for product engineering are
- Data, hardware, software, people
- Data, documentation, hardware, software
- Data, hardware, software, procedures
- Documentation, hardware, people, procedures
An object model encompasses the principle(s) of
- Abstraction
- Encapsulation
- Hierarchy or inheritance
- All of the given option
Prototyping is used when there is ———– regarding requirements.
- Uncertainty
- Confirmation
- Conflict
- Consensus
In ——- phase of software development, requirement analyst focuses on possible design of the proposed solution.
- Maintenance
- Development
- Definition
- Vision
At which stage of software development loop, results are delivered?
- Problem definition
- Solution integration
- Technical development
- Status quo
A class will be cohesive if:
- Class does not implement complex interfaces
- Class does not have complex methods
- If most of the methods do not use most of the data members most of the time
- If most of the methods use most of the data members most of the time.
A DFD is normally levelled (adding more levels of abstraction) as
- 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
Identify the true statement(s)
- An attribute that may have a number of values should be replaced by a new class and an object connection
- An attribute that varies over time, e.g. price of an item, should be replaced by an additional class with an affective data and value
- Replace “yes/no” type attribute with “status” type attributes for flexibility
- All of given option
———— Is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
- Inheritance
- Polymorphism
- Aggregation
- Abstraction
A structure is a manner of an organization which expresses a —— strong organization within the problem domain.
- Semantically
- Syntactically
- Graphically
- None of the given
An object model of a system captures the —— structure of a system.
- Static
- Dynamic
- Iterative
- Hierarchical
To determine the architectural style or combination of styles that best fits the proposed system, requirements engineering is used to uncover
- Algorithmic complexity
- Characteristics and constraints
- Control and data
- Design patterns
Which statement is not according to the software engineering principles? Software engineering is a(n) _________
- Balancing act
- Disciplined approach
- Unsystematic approach
- Quantifiable approach
In abbot’s textual analysis technique, different part of speech is identified within the text of the specification and these part are modelled using different ______
- Event
- Process
- Operations
- Components
Quantitative methods for assessing the quality of proposed architectural designs are readily available.
- True
- False
In order to determine the role and responsibilities of the identified objects, we need to consider which of the following step(s):
- Who I am?
- What I know?
- Who I know?
- What I do?
- A only
- A and b
- B ,c and D
- All of the given
In object oriented design _____ layer contains the details that enable each object to communicates with its collaborators.
- Subsystem
- Responsibility
- Message
- Object
In sequence diagram, the boxes denote:
- Objects (or classes)
- Messages, sent from one object to other
- Life-time of objects
- None of the given option
In “ railway tickit reservation system” the roles such as enquiry. Reservation and ticketing and cancellation are to be performed by the user called:
- Passenger
- System analyst
- System developer
- System designer
Class responsibilities are defined by _______
- Its attributes only
- Its collaborators
- Its operations only
- Both its attributes and operations
Requirement engineering mainly deals with the _____ of the system
- Vision phase
- Definition phase
- Development phase
- Maintenance phase
In UML based object oriented model of a system, a composition relation between two objects is shown by a ______ sign on the whole side of a relation line.
- An unfilled diamond
- A filled diamond
- A half diamond
- A dot
_______ analysis educates the analyst on business domain complexity and shows a way to deal with it.
- Domain
- Use case
- Object collaboration
- None of the given options
In this case of _____ intra component linkages are stronger while inter component linkages are weak.
- High cohesion
- Low coupling
- Low cohesion
- High coupling
An architectural style encompasses which of the following elements?
- Constraints
- Set of components
- Semantic models
- All of the given
In software engineering paradigm, any engineering approach must be founded on organizational commitment to _____
- Cost
- Scheduling
- Quality
- Performance
Identify the true statement:
- Normally object oriented design is more maintainable than functional oriented.
- Software with functional oriented design does not fulfil non functional requirements.
- Object oriented design can not implement “separation of concerns” strategy
- Function oriented design does not lead to an efficient product
A process in data flow diagram (DFD) represents
- Flow of data
- Transformation of data
- Storage of data
- An external agent
A maintainable design is a design , which supports
- Change
- Debugging
- Adding new features
- All of the given
Whole part structure is also called _______
- Generalization
- Aggregation
- Specialization
- Association
_______ are kind of umbrella activities that are used to smoothly and successfully perform the construction activities.
- Design activities
- Management activities
- Testing activities
- Maintenance activities
When you encounter both transform flow in the same DFD the flow is partitioned and the appropriate mapping technique is used on each part of the DFD.
- True
- False
Software architecture must address ————– requirements of a software system.
- Functional
- Non-functional
- User Interface Requirements
- Both functional and non-functional.
To construct a system model the engineer should consider one of the following restraining factors.
- Assumptions and constraints
- Budget and expenses
- Data objects and operations
- Schedule and milestones
A cohesive class is one which emphasizes on ———— unit of functionality.
- Single
- Multiple
- Static
- None
The best way to conduct a requirement validation review is to
- Examine the system model for errors
- have the customer look over the requirements
- Send them to the design team and see if they have any concerns
- Use a checklist of the questions to examine each requirement
Defining the services of an object means:
- What it does?
- What it knows?
- Who knows it?
Which one of the following is the external quality of a software product?
- Correctness
- Concision
- Cohesion
- Low coupling
In Data Flow Diagram, the entity or system, outside the boundary of this system is called:
- Process
- Data flow
- External agent
- Data store
GUI stands for:
- Genaric user Interface
- Graphical user interface
- Genaric user interaction
- Graphical user interaction
Specialization means:
- Calling the same method with the object of child object
- Hiding the data
- Creating new subclasses for an existing class
- None of the given options
In a use case diagram, an ellipse signifies a(n):
- Actor
- Class
- Use case
- System boundary
Software development is a step-by-step process, and in ——— phase of software development Business objective of an organization get cleared
- Maintenance
- Development
- Definition
- Vision
If you try to make software more user-friendly then the ——— may suffer.
- Reliability
- Software
- Efficiency
- Cost
In object-oriented design, the structure of the system revolves around.
- Objects
- Properties
- Methods
- All of the given option
In ——– relationship, a class shares the structure and behaviour defined in another class:
- Aggregation
- Composition
- Inheritance
- Uses
In Object Oriented Design, combining the services offered by an object with the attributes they work on, results in:
- Lower coupling and strong cohesion
- Lower cohesion and strong coupling
- Increased likelihood of reuse
- Decrease the modularity of the system
- A only
- B and c only
- A and c only
A change becomes ———– because of close presence of data and functions.
- Accessible
- Global
- Private
- Localized
Software engineering is a ————– approach.
- Systematic
- Disciplined
- Scheduled
- All of the given options
An external entity that interacts with the system is called a(n):
- Use case
- Actor
- Stakeholder
- Association
More powerful hardware resulted into the development of ————powerful and ———
software.
- Less, complex
- More , complex
- More, simple
- Less, simple
A context diagram is used:
- As a first step in developing a detailed DFD of a system
- In systems analysis of very complex systems
- As an aid to system design
- As an aid to programmers
“ System should maintain transaction log of every system”
The above statement is an example of:
- Functional requirement
- Non-functional requirement
- Pseudo requirement
- None of these
The architectural model provides the software engineer with the view of the system as a whole:
- True
- False
As per Peter Coad’s methodology , which of the following may not be a perfect candidate for being an object?
- Zone
- Recipient
- Garage
- Password
In the case of ————- approach , data is decomposed according to functionality requirements.
- Object-oriented
- Action-oriented
- Event-oriented
- Process-oriented
In UML based Object Oriented Model of a system, the diamond sign is used to depict ———
- relations between two objects/classes.
- Aggregation and Association
- Inheritance and Association
- Composition and Aggregation
- Composition, Aggregation and Association
The system specification describes the:
- Function and behavior of a computer-based system
- Implementation of each allocated system element
- Algorithmic detail and data structures
- Time required for system simulation
In object oriented approach, ———– are the people and organizations that take part in the system under consideration:
- Actors
- Places
- Participants
Software Design discusses ———- aspect of software development.
- What
- How
- Who
- When
———— requirements cause frequent modifications in user interface.
- Functional
- Non-functional
- Unstable
- User
By levelling a DFD ( adding more levels of abstraction) we mean:
- Splitting it into different levels
- Make its structure uniform
- Expanding a process into one with more sub-processes giving more detail
- Summarizing a DFD to specify only these essentials
A “register” in “Point of Sale system” is an example of:
- Actor
- Participant
- Tangible thing
- Transaction
———— is a set of processes and tools to develop software.
- Software engineering
- Information
- Software
- None of the given
The ———– on which program operates is also considered as part of the software.
- Data
- Information
- Program
- None of the given
———- diagram provides a time-based view and collaboration diagrams which provide an organization based view of the system’s dynamics.
- Data flow diagram
- Entity relationship diagram
- Class diagram
- Sequence diagram
Synchronous messages are “call events” and are denoted by ———-
- Full arrow
- Half arrow
- <<create>>
- <<destroy>>
Which of the following are the components of system engineering software?
- Process
- Methods
- Tools
- All of the given
Identifying system features include ———–
- Log important information
- Conduct business
- Analyze business results
- All of the above
————- is yet another technique that is used to reduce customer dissatisfaction at the requirement stage.
- Study of similar systems
- Site visits
- Prototyping
- All of the above
Data store notation in DFD represents:
- Data input
- Data output
- Data input and data output
- None of the above
The process of defining attributes is called ———–
- Who know me?
- What I know?
- Whom I know?
- All of the above
The output of the design process is a description of the:
- Software architecture
- Software Code
- Software
- All of the above
Which of the following are the levels of software requirements?
- Business requirements
- User requirements
- Functional requirements
- All of the above
Given below are some statements associated with data flow diagrams. Identify the correct statement among them.
- Data flow is made used of to model what systems do
- Flows of data can take place from a process to a sink
- Context diagrams shows the major system processes
- All processes have to be labelled or decomposed
In which of the following diagram the actors and attributes are represented with system boundary?
- Data flow diagram
- Entity relationship diagram
- Class diagram
- Use case diagram
_______ is real looking mock_up of what would be eventually delivered and might not do anything useful.
- Study of similar system
- Site visits
- Prototyping
- All of the above
_____ is blueprint for software construction.
- Object oriented design
- Sequence design
- Software design
- All of the above
______ requirements lead to ill-spent time and rework.
- Unacceptable
- Ambiguous
- Dissatisfaction of customer
- None of the above
Which type of diagram is used to depict the dynamic behaviour of a system.
- ERD diagram
- DFD diagram
- Class diagram
- Collaborations diagram
What is the most crucial non-functional requirement of a system to control radiation dosages that are emitted as treatment for cancer?
- Security
- Reliability
- Easy usability
- Accuracy
A better design has an objective achieve
- High cohesion
- Low cohesion
- Low coupling
- High cohesion and low coupling
Which of the following are trhe components of software engineering framework is combine the three remaining components?
- Process
- Method
- Tools
- All of the above
In sequence diagrams the time required by the receiver object to process the message is denoted by an _____
- Activation box
- Message line
- Life line
- All of the above
How many types of OOD modes have _____.
- One
- Two
- Three
- Four
Which notation is used to represent the process of the system in DFD model.
- Process
- External agent
- Data flow
- Data store
Requirement engineering mainly deals with the _______ of the system
- Process
- Maintenance
- Development phase
- Definition phase
Insufficient user involvement leads to _____ products.
- Unacceptable
- Ambiguous
- Dissatisfaction of customer
- None of the above
Collaboration diagrams have basically two types of components: objects and _____
- Messages
- Method
- Classes
- None of the above
In object-oriented analysis how many number of tasks must occurs _____.
- 1
- 2
- 3
- None of the above
State transition diagram is helpful in determining ______.
- Data store
- Process flow
- Business understanding
- None of the above
In sequence diagram events are organized in a _____ time life line.
- Vertical
- Horizontal
- Both A and B
- All of the above
Asynchronous messages are “signals,” denoted by ______.
- Full arrow
- Half arrow
- <<create>>
- <<destroy>>
When we write a program for computer and then we named it as _____ .
- Data
- Information
- Software
- None of the given
Context level diagram present in which of the following document.
- SRS-software requirement specification
- Design document
- Test phase
- All of the above
______ is diagram in which objects are interact with each other and these are arranged in a sequence.
- ERD diagrams
- Inheritance diagrams
- Class diagrams
- Sequence diagrams
Which of the following layers are include in object-oriented design?
- The subsystem layers
- The class and object layer
- All of the above
- The message layers
Which notation is used to represent the boundary of the system in DFD model?
- Process
- External agent
- Data flow
- Data store
Identifying whole-part structures (aggregations) means what are my _____.
- Components
- Structures
- Class
- Object
An object or class may further be classified on the basis of ______ .
- Behaviour driven attributes
- Data driven attributes
- Responsibility driven attributes
- o All of the above
DFD notation contains
- Process
- External agent
- Data flow
- All of the above
The doted lines in sequence diagram are called ____ .
- Life line
- Message line
- Entities line
- All of the above
An object may create another object via a _____ message .
- Full arrow
- half arrow
- <<create>>
- <<destroy>>
How many levels of software requirements are _____?
- One
- Two
- Three
- Four
Which of the following diagram has iterative activities?
- Data flow diagram
- Entity relationship diagram
- Class diagram
- Use case diagram
Which of the items listed below is not one of the software engineering layers?
- Tools
- Manufacturing
- Process
- Methods
Coupling is a measure of _____ a module or component.
- Independent
- Dependent
- Closeness
- All of the given
Software maintenance phase involves
- Debugging
- Adding new features
- Making changes
- All of the given
The hardest single part of building a software system is deciding precisely _____ to build.
- When
- What
- Why
- All of the given
Interaction diagrams depict the ____ behaviour of the system.
- Static
- Active
- Dynamic
- None of the given
A _____ can be used to describe the dynamic behaviour of an object-oriented system.
- ERD diagrams
- Inheritance diagrams
- Class diagrams
- Series diagrams
The Use case diagram shows that which ____ interact with each use case.
- Use case
- Actor
- Component
- Relation
Transactions are the _____ that must be remembered through time.
Events
A class will be cohesive if:
Select correct option:
Class does not implement Complex interfaces
Class does not have Complex Methods
If most of the methods do not use most of the data members most of the time
if most of the methods use most of the data members most of the time.
___ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction
The key objective(s) of OOD process should achieve the following:
Select correct option:
The class as far as possible should be Independent , but could be dependent on
only a few classes.
Interaction between two classes should be explicit.
Class hierarchy should be built on specialization of higher class.
All of the given options
"A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power-engine" The above statement is example of:
Select correct option:
Whole-Part relationship
Inheritance
Specialization
Generalization
A ___ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
Select correct option:
Inheritance
Whole-part
Generalization
Identify the TRUE statement(s)
Select correct option:
An attribute that may have a number of values should be replaced by a new class and an object connection
An attribute that varies over time, e.g., price of an item, should be replaced by an
additional class with an effective date and value
Replace “yes/no” type attributes with “status” type attributes for flexibility
All of given options
A structure is a manner of an organization which expresses a ______ strong organization within the problem domain.
Select correct option:
semantically
syntactically
graphically
none of the given
semantically
Whole Part Structure is also called ____
Select correct option:
Generalization
Aggregation
Specialization
Association
Specialization means:
Select correct option:
Calling the same method with object of child object
Hiding the data
Creating new subclasses from an existing class
None of given options
The intent of Object Oriented Analysis (OOA) is to define:
Select correct option:
All classes
Relationships among classes
Behavior of classes
All of the given options
In "Railway ticket reservation system" the roles such as enquiry , reservation and ticketing and cancellation are to be performed by the user called :-
Select correct option:
Passenger
System analyst
System developer
System designer
Defining the services of an object means:
Select correct option:
What it does?
What it knows?
Who knows it?
Whome it knows?
When a class gets physical existance in computer memory, it is called
Select correct option:
Parent Class
polymorphism
Static Object
Object
A class will be cohesive if:
Select correct option:
Class does not implement Complex interfaces
Class does not have Complex Methods
If most of the methods do not use most of the data members most of the time
if most of the methods use most of the data members most of the time.
A ___ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
Select correct option:
Inheritance
Whole-part
Generalization
Specialization
----------------gives OO the ability to handle essential complexity better than action-oriented approach.
Select correct option:
Centralization
Decentralization
Decentralization and Centralization
none of the given
_________ is an extremely powerful technique for dealing with complexity.
Select correct option:
Aggregation
Abstraction
Inheritance
Association
The modules interacting with each other through message passing have _______ between them.
Select correct option:
low cohesion
high cohesion
low coupling
high couling not sure
Example of Coupling
The modules that interact with each other through message passing have low coupling
while those who interact with each other through variables that maintain information
about the state have high coupling. The following diagram shows examples of two such
systems
Identifying Whole-Part structures (Aggregations) means what are my _______
Select correct option:
Components
Attributes
Methods
Messages
___ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction
----------------gives OO the ability to handle essential complexity better than action-oriented approach.
Select correct option:
Centralization
Decentralization
Decentralization and Centralization
none of the given
In the case of action-oriented approach, data is decomposed according to:
Select correct option:
Object requirements
Functionality requirements
Corresponding domain model
Compatibility with object interface
Identify the TRUE statement(s)
Select correct option:
An attribute that may have a number of values should be replaced by a new class and an object connection
An attribute that varies over time, e.g., price of an item, should be replaced by an
additional class with an effective date and value
Replace “yes/no” type attributes with “status” type attributes for flexibility
All of given options
Software objects interact and communicate with each other using ______ .
Select correct option:
Whole-Part relation
Generalization/Specialization relation
Messages
None of given options.
A cohesive Class is one which emphasizes on __ unit of functionality
Select correct option:
Single
Multiple
Static
None of the given options
is an extremely powerful technique for dealing with complexity.
Select correct option:
Aggregation
Abstraction
Inheritance
Association
The key objective(s) of OOD process should achieve the following:
Select correct option:
The class as far as possible should be Independent , but could be dependent on
only a few classes.
Interaction between two classes should be explicit.
Class hierarchy should be built on specialization of higher class.
All of the given options
In this case of _______, intra component linkages are stronger while inter component linkages are weak.
Select correct option:
high cohesion
low coupling
low cohesion
high coupling
Identifying Whole-Part structures (Aggregations) means what are my _______
Components
Attributes
mthods
messages
In ________ relationship, a class shares the structure and behavior defined in another class.
Select correct option:
Aggregation
Composition
Inheritance
Uses
Aggregation
A "register" in "Point of sale system" is an example of:
Select correct option:
Actor
Participant
Tangible thing
Transaction
Identify the TRUE statement(s)
Select correct option:
An attribute that may have a number of values should be replaced by a new class and an object connection
An attribute that varies over time, e.g., price of an item, should be replaced by an additional class with an effective date and value
Replace “yes/no” type attributes with “status” type attributes for flexibility
All of given options
---------------gives OO the ability to handle essential complexity better than action-oriented approach.
Select correct option:
Centralization
Decentralization
Decentralization and Centralization
none of the given
To help separate an object's external behavior from its implementation, the technique used is called _________.
Select correct option:
Generalization
Association
Composition
Abstraction
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options
A change becomes ----------- because of close presence of data and fucntions
Select correct option:
Accessible
Global
Private
Localized
A class will be cohesive if:
Select correct option:
Class does not implement Complex interfaces
Class does not have Complex Methods
If most of the methods do not use most of the data members most of the time
if most of the methods use most of the data members most of the time.
______ analysis educates the analyst on business domain complexity and shows a way to deal with it.
Select correct option:
Domain
Use Case
Object Collaboration
None of the given options
Strong cohesion implies that:
Select correct option:
All parts of a component have a close logical relationship with each other.
All parts of a component do not have a close logical relationship with each other.
Component is dynamic in nature
Component is static in nature
----------------gives OO the ability to handle essential complexity better than action-oriented approach.
Select correct option:
Centralization
Decentralization
Decentralization and Centralization
none of the given
In Object Oriented Design, ______ layer contains the details that enable each object to communicate with its collaborators.
Select correct option:
subsystem
responsibility
message
object
Whole Part Structure is also called ______
Select correct option:
Generalization
Aggregation
Specialization
Association
Coupling is a measure of _____ of a module or component.
Select correct option:
Independence
Dependence
Aggregation
Composition
Class responsibilities are defined by _________.
Select correct option:
its attributes only
its collaborators
its operations only
both its attributes and operations
In "Point of Sale system", the term "Payment" represents
Select correct option:
Actor
Participant
Transaction
Container
The key objective(s) of OOD process should achieve the following:
Select correct option:
The class as far as possible should be Independent , but could be dependent on only a few classes.
Interaction between two classes should be explicit.
Class hierarchy should be built on specialization of higher class.
All of the given options
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options
The modules interacting with each other through message passing have _______ between them.
Select correct option:
low cohesion
high cohesion
low coupling
high couling
Software objects interact and communicate with each other using ______ .
Select correct option:
Whole-Part relation
Generalization/Specialization relation
Messages
None of given options.
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options
A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power-engine" The above statement is example of:
Select correct option:
Whole-Part relationship
Inheritance
Specialization
Generalization
A "register" in "Point of sale system" is an example of:
Select correct option:
Actor
Participant
Tangible thing
Transaction
When two components of a system are using the same global data area, they are related as
Select correct option:
Data Coupling
Content Coupling
Common Coupling
External Coupling
Which of the following is NOT among one of the four layers of the Object Oriented (OO) design pyramid
Select correct option:
The subsystem layer
The class and object layer
The Abstract layer
The message layer
The first step in any OOA process model is to
Select correct option:
build an object-relationship model.
define collaborations between objects.
elicit customer requirements.
select a representation language.
A ___ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
Select correct option:
Inheritance
Whole-part
Generalization
Specialization
is an extremely powerful technique for dealing with complexity.
Select correct option:
Aggregation
Abstraction
Inheritance
Association
A change becomes ----------- because of close presence of data and fucntions
Select correct option:
Accessible
Global
Private
Localized
In "Railway ticket reservation system" the roles such as enquiry , reservation and ticketing and cancellation are to be performed by the user called :-
Select correct option:
Passenger
System analyst
System developer
System designer
Amjad Zahid: Which of the following is NOT among one of the four layers of the Object Oriented (OO) design pyramid
Select correct option:
The subsystem layer
The class and object layer
The Abstract layer
The message layer
___ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction
In ________ relationship, a class shares the structure and behavior defined in another class.
Select correct option:
Aggregation
Composition
Inheritance
Uses
Once you define "Employee" as an object for pay-roll application _______
Select correct option:
It can NOT be used for income tax, bonus, commission or any HR application.
It can be used for income tax, bonus, commission or any HR application.
It can only provide Read-Only properties
None of the given options
A class will be cohesive if:
Select correct option:
Class does not implement Complex interfaces
Class does not have Complex Methods
If most of the methods do not use most of the data members most of the time
if most of the methods use most of the data members most of the time.
4th?
In this case of _______, intra component linkages are stronger while inter component linkages are weak.
Select correct option:
high cohesion
low coupling
low cohesion
high coupling
In the case of action-oriented approach, data is decomposed according to:
Select correct option:
Object requirements
Functionality requirements
Corresponding domain model
Compatibility with object interface
----------------gives OO the ability to handle essential complexity better than action-oriented approach.
Select correct option:
Centralization
Decentralization
Decentralization and Centralization
none of the given
In the case of ________ in a system, module boundaries are not well defined.
Select correct option:
low cohesion
high coupling
low coupling
high cohesion
A ___ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
Select correct option:
Inheritance
Whole-part
Generalization
Specialization
The three most important characteristics of an object are
Select correct option:
Identity
State
Behavior
All of the given
In Object Oriented Design, ______ layer contains the details that enable each object to communicate with its collaborators.
Select correct option:
subsystem
responsibility
message
object
______ has become a standard notation for object oriented system modeling.
Select correct option:
UML
C++
OCL (object Constraint Language)
None of the given options
______ analysis educates the analyst on business domain complexity and shows a way to deal with it.
Select correct option:
Domain
Use Case
Object Collaboration
None of the given options
___ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction
Quiz: 4
The modules interacting with each other through message passing have _______ between them.
Select correct option:
low cohesion
high cohesion
low coupling
high couling
A change becomes ----------- because of close presence of data and fucntions
Select correct option:
Accessible
Global
Private
Localized
Coupling is a measure of _____ of a module or component.
Select correct option:
Independence
Dependence
Aggregation
Composition
localized
Identify the TRUE statement(s)
Select correct option:
An attribute that may have a number of values should be replaced by a new class and an object connection
An attribute that varies over time, e.g., price of an item, should be replaced by an
additional class with an effective date and value
Replace “yes/no” type attributes with “status” type attributes for flexibility
All of given options
The first step in any OOA process model is to
Select correct option:
build an object-relationship model.
define collaborations between objects.
elicit customer requirements.
select a representation language.
"System should maintain transaction log of every transaction" The above statement is an example of
Select correct option:
Functional requirement
Non-functional requirement
Pseudo requirement
None of the given options
The most important and critical stage in the object oriented design is the appropriate classification of _______.
Select correct option:
functions
methods
objects
relationships
4?
or 2?
When two components of a system are using the same global data area, they are related as
Select correct option:
Data Coupling
Content Coupling
Common Coupling
External Coupling
Class responsibilities are defined by _________.
Select correct option:
its attributes only
its collaborators
its operations only
both its attributes and operations
In "Railway ticket reservation system" the roles such as enquiry , reservation and ticketing and cancellation are to be performed by the user called :-
Select correct option:
Passenger
System analyst
System developer
System designer
___ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction
"A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power-engine" The above statement is example of:
Select correct option:
Whole-Part relationship
Inheritance
Specialization
Generalization
Identifying Whole-Part structures (Aggregations) means what are my _________
Select correct option:
Components
Attributes
Methods
Messages
A ___ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
Select correct option:
Inheritance
Whole-part
Generalization
Specialization
Identifying Whole-Part structures (Aggregations) means what are my _______
Select correct option:
Components
Attributes
Methods
Messages
Identifying Whole-Part structures (Aggregations) means what are my _______
Select correct option:
Components
Attributes
Methods
Messages
"A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power-engine" The above statement is example of:
Select correct option:
Whole-Part relationship
Inheritance
Specialization
Generalization
Which of the following is NOT among one of the four layers of the Object Oriented (OO) design pyramid
Select correct option:
The subsystem layer
The class and object layer
The Abstract layer
The message layer
When a class gets physical existance in computer memory, it is called
Select correct option:
Parent Class
polymorphism
Static Object
Object
In this case of _______, intra component linkages are stronger while inter component linkages are weak.
Select correct option:
high cohesion
low coupling
low cohesion
high coupling
Consider the following piece of code: public clas s Square extends Shape { // some code . } The above code is an example of:
Select correct option:
Part-Whole relationship
Generalization/Specialization
Data Sharing
Data encapsulation
A structure is a manner of an organization which expresses a ______ strong organization within the problem domain.
Select correct option:
semantically
syntactically
graphically
none of the given
Consider the following piece of code: public clas s Square extends Shape { // some code . } The above code is an example of:
Select correct option:
Part-Whole relationship
Generalization/Specialization
Data Sharing
Data encapsulation
A structure is a manner of an organization which expresses a ______ strong organization within the problem domain.
Select correct option:
semantically
syntactically
graphically
none of the given
______ has become a standard notation for object oriented system modeling.
Select correct option:
UML
C++
OCL (object Constraint Language)
None of the given options
______ analysis educates the analyst on business domain complexity and shows a way to deal with it.
Select correct option:
Domain
Use Case
Object Collaboration
None of the given options
To help separate an object's external behavior from its implementation, the technique used is called _________.
Select correct option:
Generalization
Association
Composition
Abstraction
Identifying Whole-Part structures (Aggregations) means what are my _________
Select correct option:
Components
Attributes
Methods
Messages
______ has become a standard notation for object oriented system modeling.
Select correct option:
UML
C++
OCL (object Constraint Language)
None of the given options
The most important and critical stage in the object oriented design is the appropriate classification of _______.
Select correct option:
functions
methods
objects
relationships
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options
To help separate an object's external behavior from its implementation, the technique used is called _________.
Select correct option:
Generalization
Association
Composition
Abstraction
The modules interacting with each other through message passing have _______ between them.
Select correct option:
low cohesion
high cohesion
low coupling
high couling
Coupling is a measure of _____ of a module or component.
Select correct option:
Independence
Dependence
Aggregation
Composition
Which of the following is NOT among one of the four layers of the Object Oriented (OO) design pyramid
Select correct option:
The subsystem layer
The class and object layer
The Abstract layer
The message layer
A tangible entity in the real life is called
Select correct option:
Functions
Object
Class
None of the given
Whole Part Structure is also called ______
Select correct option:
Generalization
Aggregation
Specialization
Association
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options
Defining the services of an object means:
Select correct option:
What it does?
What it knows?
Who knows it?
Whome it knows?
---------------gives OO the ability to handle essential complexity better than action-oriented approach.
Select correct option:
Centralization
Decentralization
Decentralization and Centralization
none of the given
Specialization means:
Select correct option:
Calling the same method with object of child object
Hiding the data
Creating new subclasses from an existing class
None of given options
Class responsibilities are defined by _________.
Select correct option:
its attributes only
its collaborators
its operations only
both its attributes and operations
In the case of ________ in a system, module boundaries are not well defined.
Select correct option:
low cohesion
high coupling
low coupling
high cohesion
When two components of a system are using the same global data area, they are related as
Select correct option:
Data Coupling
Content Coupling
Common Coupling
External Coupling
m.waseem.vu: no idea
When a class gets physical existance in computer memory, it is called
Select correct option:
Parent Class
polymorphism
Static Object
Object
_________ is an extremely powerful technique for dealing with complexity.
Select correct option:
Aggregation
Abstraction
Inheritance
Association
In Object Oriented Design, ______ layer contains the details that enable each object to communicate with its collaborators.
Select correct option:
subsystem
responsibility
message
object
Question # 1 of 10 ( Start time: 11:07:54 PM ) Total Marks: 1
____________ of the total cost of the software development is spent on maintenance.
Select correct option:
one third
two third ok
one fourth
three fourth
Question # 2 of 10 ( Start time: 11:08:33 PM ) Total Marks: 1
In Abbot’s Textual Analysis technique, the proper noun (e.g. Mehdi Hassan) represents
Select correct option:
Class
Instance ok
Inheritance
Aggregation
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 = ‘\0;
Str = 0.0;
Value of f1 =1
Size of f1 = 1 bit
Value of f1 should not exceede 1 (Not Sure)
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
Lack of Usability
Lack of Security
Lack of Performance
Lack of Portability
Question # 3 of 10 ( Start time: 11:09:07 PM ) Total Marks: 1
A _______ is not the real product but just a real looking mock-up of what would be eventually delivered.
Select correct option:
Software
Program
Prototype ok
Test Case
Question # 4 of 10 ( Start time: 11:09:35 PM ) Total Marks: 1
Strong cohesion implies that:
Select correct option:
All parts of a component have a close logical relationship with each other. ok
All parts of a component do not have a close logical relationship with each other.
Component is dynamic in nature
Component is static in nature
Question # 5 of 10 ( Start time: 11:10:00 PM ) Total Marks: 1
When a class gets physical existance in computer memory, it is called
Select correct option:
Parent Class
polymorphism
Static Object
Object ok
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 # 6 of 10 ( Start time: 11:10:32 PM ) Total Marks: 1
_____ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction ok
Question # 7 of 10 ( Start time: 11:11:03 PM ) Total Marks: 1
Normally a System will be more easy to modify if its modules have:
Select correct option:
High coupling and High cohesion.
High coupling and Low cohesion.
Low coupling and High cohesion. ok
Low coupling and Low Cohesion.
Question # 8 of 10 ( Start time: 11:12:04 PM ) Total Marks: 1
The design process usually involves:
Select correct option:
Developing a number of different models.
Looking at the system from different angles.
Describing the system at various levels of abstraction.
All of the given options ok
Question # 9 of 10 ( Start time: 11:12:39 PM ) Total Marks: 1
An object model of a system captures the _________ structure of a system.
Select correct option:
static ok
dynamic
iterative
Hierarchical
Question # 10 of 10 ( Start time: 11:13:18 PM ) Total Marks: 1
Software Design discusses ______ aspect of software development
Select correct option:
What
How ok
Who
When
Question # 1 of 10 ( Start time: 11:01:13 PM ) Total Marks: 1
Which of the following strategy/strategies lead(s) to a good software design:
Select correct option:
Separation of Concerns
Modularity
Divide-and-conquer
All of the given options ok
Question # 2 of 10 ( Start time: 11:01:33 PM ) Total Marks: 1
The modules that interact with each other through message passing have __________.
Select correct option:
Low Coupling ok
High Coupling
Low Cohesion
High Cohesion
Question # 3 of 10 ( Start time: 11:01:53 PM ) Total Marks: 1
The intent of Object Oriented Analysis (OOA) is to define:
Select correct option:
All classes
Relationships among classes
Behavior of classes
All of the given options ok
Question # 4 of 10 ( Start time: 11:02:07 PM ) Total Marks: 1
The most important and critical stage in the object oriented design is the appropriate classification of _________.
Select correct option:
functions
methods
objects
relationships ok
Question # 5 of 10 ( Start time: 11:02:26 PM ) Total Marks: 1
A maintainable design is a design , which supports
Select correct option:
Change ok
debugging
Adding new features
All of the given
Question # 6 of 10 ( Start time: 11:03:14 PM ) Total Marks: 1
Selecting Objects (in a domain) include:
Select correct option:
Actors
Participants
Places
All of the above ok
Question # 7 of 10 ( Start time: 11:03:40 PM ) Total Marks: 1
__________________ relationship is concerned with classes not with the class instantiates.
Select correct option:
Association
Inheritance ok
Aggregation
Composition
Question # 8 of 10 ( Start time: 11:05:09 PM ) Total Marks: 1
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options ok
Question # 9 of 10 ( Start time: 11:05:27 PM ) Total Marks: 1
_____ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction ok
Question # 10 of 10 ( Start time: 11:05:47 PM ) Total Marks: 1
The three most important characteristics of an object are
Select correct option:
Identity
State
Behavior
All of the given ok
Question # 1 of 10 ( Start time: 10:56:40 PM ) Total Marks: 1
_____ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction ok
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)
TRUE
FALSE
TrueFalse
Question # 2 of 10 ( Start time: 10:56:57 PM ) Total Marks: 1
A structure is a manner of an organization which expresses a ________ strong organization within the problem domain.
Select correct option:
semantically ok
syntactically
graphically
none of the given
Question # 3 of 10 ( Start time: 10:57:14 PM ) Total Marks: 1
Modules with high cohesion and low coupling can be treated and analyzed as:
Select correct option:
White Boxes
Black Boxes ok
Gray Boxes
None of the given options
We should try to optimized 80 percent or at least 20 percent of the code
None of the given options.
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
Question # 4 of 10 ( Start time: 10:57:32 PM ) Total Marks: 1
____________ is a technique that can be used to reduce customer dissatisfaction at requirement stage.
Select correct option:
Analysis
Negotiation
Prototyping ok
GUI
Question # 5 of 10 ( Start time: 10:57:47 PM ) Total Marks: 1
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options ok
Question # 1 of 10 ( Start time: 11:28:41 PM ) Total Marks: 1
In "Point of Sale system", the term "Payment" represents
Select correct option:
Actor
Participant
Transaction ok
Container
Question # 2 of 10 ( Start time: 11:29:03 PM ) Total Marks: 1
Consider the following piece of code: public class Square extends Shape { // some code . } The above code is an example of:
Select correct option:
Part-Whole relationship
Generalization/Specialization ok
Data Sharing
Data encapsulation
Question # 3 of 10 ( Start time: 11:29:30 PM ) Total Marks: 1
In the case of action-oriented approach, data is decomposed according to:
Select correct option:
Object requirements
Functionality requirements ok
Corresponding domain model
Compatibility with object interface
Question # 4 of 10 ( Start time: 11:29:53 PM ) Total Marks: 1
__________________ relationship is concerned with classes not with the class instantiates.
Select correct option:
Association
Inheritance ok
Aggregation
Composition
Question # 5 of 10 ( Start time: 11:30:28 PM ) Total Marks: 1
"A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power-engine" The above statement is example of:
Select correct option:
Whole-Part relationship ok
Inheritance
Specialization
Generalization
Question # 6 of 10 ( Start time: 11:31:14 PM ) Total Marks: 1
________ analysis educates the analyst on business domain complexity and shows a way to deal with it.
Select correct option:
Domain ok
Use Case
Object Collaboration
None of the given options
Question # 7 of 10 ( Start time: 11:32:13 PM ) Total Marks: 1
Which of the following is NOT among one of the four layers of the Object Oriented (OO) design pyramid
Select correct option:
The subsystem layer
The class and object layer
The Abstract layer ok
The message layer
Question # 8 of 10 ( Start time: 11:32:40 PM ) Total Marks: 1
When two components of a system are using the same global data area, they are related as
Select correct option:
Data Coupling
Content Coupling ok
Common Coupling
External Coupling
Question # 9 of 10 ( Start time: 11:33:01 PM ) Total Marks: 1
"System should maintain transaction log of every transaction" The above statement is an example of
Select correct option:
Functional requirement ok
Non-functional requirement
Pseudo requirement
None of the given options
Question # 10 of 10 ( Start time: 11:33:26 PM ) Total Marks: 1
While establishing the services for an object, the following fundamental questions should be asked
Select correct option:
Why does the system need this object any way?
What useful questions can it answer?
What useful action can it perform?
All of the given options ok
Question # 1 of 10 ( Start time: 11:24:18 PM ) Total Marks: 1
In "Point of Sale system", the term "Payment" represents
Select correct option:
Actor
Participant
Transaction ok
Container
Question # 2 of 10 ( Start time: 11:24:37 PM ) Total Marks: 1
A cohesive Class is one which emphasizes on ____ unit of functionality
Select correct option:
Single
Multiple ok
Static
None of the given options
Question # 3 of 10 ( Start time: 11:24:59 PM ) Total Marks: 1
_____ is a technique in which we construct a model of an entity based upon its essential characteristics and ignore the inessential details.
Select correct option:
Inheritance
Polymorphism
Aggregation
Abstraction ok
Question # 4 of 10 ( Start time: 11:25:17 PM ) Total Marks: 1
An object model of a system captures the _________ structure of a system.
Select correct option:
static ok
dynamic
iterative
Hierarchical
Question # 5 of 10 ( Start time: 11:25:35 PM ) Total Marks: 1
A _____ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
Select correct option:
Inheritance
Whole-part ok
Generalization
Specialization
Question # 6 of 10 ( Start time: 11:25:54 PM ) Total Marks: 1
Transactions are the _________ that must be remembered through time.
Select correct option:
Events ok
Actions
Triggers
Methods
Question # 7 of 10 ( Start time: 11:26:13 PM ) Total Marks: 1
In the case of action-oriented approach, data is decomposed according to:
Select correct option:
Object requirements ok
Functionality requirements
Corresponding domain model
Compatibility with object interface
Question # 1 of 10 ( Start time: 11:15:27 PM ) Total Marks: 1
Which of the following is NOT among one of the four layers of the Object Oriented (OO) design pyramid
Select correct option:
The subsystem layer
The class and object layer
The Abstract layer ok
The message layer
Question # 2 of 10 ( Start time: 11:16:39 PM ) Total Marks: 1
A change becomes ------------- because of close presence of data and fucntions
Select correct option:
Accessible
Global
Private
Localized ok
Question # 3 of 10 ( Start time: 11:17:16 PM ) Total Marks: 1
Software Design discusses ______ aspect of software development
Select correct option:
What
How ok
Who
When
Question # 4 of 10 ( Start time: 11:17:47 PM ) Total Marks: 1
When two components of a system are using the same global data area, they are related as
Select correct option:
Data Coupling
Content Coupling ok
Common Coupling
External Coupling
Question # 1 of 10 ( Start time: 09:16:39 PM ) Total Marks: 1
In the architecture trade-off analysis method the architectural style should be described using the
Select correct option:
data flow view
module view
process view
all of the given ok
Question # 2 of 10 ( Start time: 09:17:47 PM ) Total Marks: 1
In the classical thin-client architecture, the entire processing is carried-out by -----------
Select correct option:
Single server ok
multiple servers
multiple servers
None of the given
Question # 3 of 10 ( Start time: 09:18:07 PM ) Total Marks: 1
In Client server model, the application is modeled as a set of .....that are provided by servers.
Select correct option:
Requests
Protocols
Services ok
Requirements
Question # 4 of 10 ( Start time: 09:18:31 PM ) Total Marks: 1
Thin Client Model is one of the configurations of ……Model.
Select correct option:
Data-centered
Client Server ok
Layered
Reference
Question # 5 of 10 ( Start time: 09:19:10 PM ) Total Marks: 1
There are ……layers in OSI reference model.
Select correct option:
5
6
7 ok
8
Question # 6 of 10 ( Start time: 09:19:22 PM ) Total Marks: 1
Which of the following is not a possible server in client server environment?
Select correct option:
Database Server
Transaction Server
File Server
Time Server ok
Question # 7 of 10 ( Start time: 09:19:52 PM ) Total Marks: 1
The clients and servers, in a client server environment, are connected through _____________________.
Select correct option:
Framework
Interface
Middleware
Groupware
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
Question # 8 of 10 ( Start time: 09:21:19 PM ) Total Marks: 1
Process view in Krutchen’s 4+1 architectural view model captures ____________.
Select correct option:
Object model of the design ok
Concurrency and synchronization aspects of the design
Mapping(s) of the software onto the hardware and reflects its distributed aspect
Static organization of the software in its development environment
Question # 9 of 10 ( Start time: 09:22:04 PM ) Total Marks: 1
The key objective(s) of OOD process should achieve the following:
Select correct option:
The class as far as possible should be Independent , but could be dependent on only a few classes.
Interaction between two classes should be explicit.
Class hierarchy should be built on specialization of higher class.
All of the given options ok
Question # 10 of 10 ( Start time: 09:22:34 PM ) Total Marks: 1
Maintainability and Portability issues are discussed in _____________.
Select correct option:
Functional View
Physical View
Code View ok
Logical View
Question # 1 of 10 ( Start time: 09:08:01 PM ) Total Marks: 1
Defining the services of an object means:
Select correct option:
What it does? ok
What it knows?
Who knows it?
Whome it knows?
Question # 2 of 10 ( Start time: 09:08:27 PM ) Total Marks: 1
Which one of these represents the Krutchen’s 4+1 architectural view model?
Select correct option:
Logical view, Process view, Physical view, Development view, Use case view
Logical view, Dynamic view, Physical view, Development view, Use case view
Logical view, Process view, Physical view, Development view, Sequence view
Dynamic view, Process view, Physical view, Development view, Use case view
Question # 3 of 10 ( Start time: 09:09:50 PM ) Total Marks: 1
Return values in Synchronous messages are represented by:
Select correct option:
A solid line
A dotted line with label ok
A solid line with label
Double line
Question # 4 of 10 ( Start time: 09:10:52 PM ) Total Marks: 1
Aynchronous messages :
Select correct option:
are implemented as operation call
These block caller before response
occurs in multi-threaded applications ok
are shown by dotted line
Question # 5 of 10 ( Start time: 09:11:36 PM ) Total Marks: 1
Identifying Whole-Part structures (Aggregations) means what are my _________
Select correct option:
Components
Attributes ok
Methods
Messages
Question # 6 of 10 ( Start time: 09:11:58 PM ) Total Marks: 1
Return values in synchronous messages are:
Select correct option:
Compulsory
May not used when response is obvious ok
Not used at all
represented by solid lines
Question # 7 of 10 ( Start time: 09:12:51 PM ) Total Marks: 1
Vertical partitioning divides the architecture application from a …… making perspective.
Select correct option:
Decision ok
Design
Conclusion
Move
Question # 8 of 10 ( Start time: 09:13:51 PM ) Total Marks: 1
Thin Client Model places a heavy processing load on……
Select correct option:
Only Server
Only Network
Both Server and Network ok
Neither Server nor Network
Question # 9 of 10 ( Start time: 09:14:21 PM ) Total Marks: 1
There are ……layers in OSI reference model.
Select correct option:
5
6
7 ok
8
Question # 10 of 10 ( Start time: 09:14:47 PM ) Total Marks: 1
An architectural style encompasses which of the following elements?
Select correct option:
constraints
set of components
semantic models
all of the given ok
Question # 1 of 10 ( Start time: 08:36:48 PM ) Total Marks: 1
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring ok
Question # 2 of 10 ( Start time: 08:38:05 PM ) Total Marks: 1
In the N-Tire Architecture,the idea is to enhance scalability and -------------- by distributing both the data and the application using multiple server machines.
Select correct option:
Usability
Performance ok
Interoperability
None of the given
Question # 3 of 10 ( Start time: 08:38:46 PM ) Total Marks: 1
In case of a file servers, client requests selected records from a .....and the server transmits records to client over the network.
Select correct option:
Local Memory
Network
Database
File ok
Question # 4 of 10 ( Start time: 08:39:51 PM ) Total Marks: 1
Issues like system performance, availability, scalability, and security are analyzed in __________.
Select correct option:
Logical View ok
Physical View
Code View
Concurrency View
Question # 5 of 10 ( Start time: 08:40:43 PM ) Total Marks: 1
A necessary supplement to transform or transaction mapping needed to create a complete architectural design is
Select correct option:
entity relationship diagrams
the data dictionary
processing narratives for each module
test cases for each module
Question # 6 of 10 ( Start time: 08:41:58 PM ) Total Marks: 1
Fat Client Model is one of the configurations of ……Model.
Select correct option:
Data-centered ok
Layered
Reference
Client Server
Question # 7 of 10 ( Start time: 08:42:47 PM ) Total Marks: 1
Defining the services of an object means:
Select correct option:
What it does? ok
What it knows?
Who knows it?
Whome it knows?
Question # 8 of 10 ( Start time: 08:43:31 PM ) Total Marks: 1
Aynchronous messages :
Select correct option:
are implemented as operation call
These block caller before response
occurs in multi-threaded applications ok
are shown by dotted line
Question # 1 of 10 ( Start time: 09:55:03 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 ok
Cloning
Balancing
Question # 2 of 10 ( Start time: 09:55:51 PM ) Total Marks: 1
Which of the following is not part of software architecture?
Select correct option:
databases
data design
program structure
algorithm details ok
Question # 3 of 10 ( Start time: 09:56:19 PM ) Total Marks: 1
In case of a file servers, client requests selected records from a .....and the server transmits records to client over the network.
Select correct option:
Local Memory
Network
Database
File ok
Question # 4 of 10 ( Start time: 09:56:52 PM ) Total Marks: 1
Sequence diagrams:
Select correct option:
Provide the static behavior
Provide Data Flow
Provide a time-based view
All of the given options
Question # 5 of 10 ( Start time: 09:57:48 PM ) Total Marks: 1
Client server is a ______________ system model.
Select correct option:
Integrated
Distributed ok
Heterogeneous
Homogeneous
Question # 6 of 10 ( Start time: 09:58:39 PM ) Total Marks: 1
In the case of zero-install, the network environment is used to ---------server side processing by adding a number of servers which share processing load.
Select correct option:
Distribute ok
Centeralize
Clone
None of the given
Question # 7 of 10 ( Start time: 09:59:11 PM ) Total Marks: 1
Process view in Krutchen’s 4+1 architectural view model captures ____________.
Select correct option:
Object model of the design ok
Concurrency and synchronization aspects of the design
Mapping(s) of the software onto the hardware and reflects its distributed aspect
Static organization of the software in its development environment
Question # 8 of 10 ( Start time: 09:59:36 PM ) Total Marks: 1
Which of the following is not a possible server in client server environment?
Select correct option:
Database Server
Transaction Server
File Server
Time Server ok
Question # 9 of 10 ( Start time: 10:00:23 PM ) Total Marks: 1
In Client server model, the application is modeled as a set of .....that are provided by servers.
Select correct option:
Requests
Protocols
Services ok
Requirements
Question # 10 of 10 ( Start time: 10:00:55 PM ) Total Marks: 1
Physical view in Krutchen’s 4+1 architectural view model captures __________.
Select correct option:
Object model of the design
Concurrency and synchronization aspects of the design
Mapping(s) of the software onto the hardware and reflects its distributed aspect
Static organization of the software in its development environment
Question # 1 of 10 ( Start time: 09:38:17 PM ) Total Marks: 1
Identifying Whole-Part structures (Aggregations) means what are my _________
Select correct option:
Components ok
Attributes
Methods
Messages
Question # 2 of 10 ( Start time: 09:38:53 PM ) Total Marks: 1
The key objective(s) of OOD process should achieve the following:
Select correct option:
The class as far as possible should be Independent , but could be dependent on only a few classes.
Interaction between two classes should be explicit.
Class hierarchy should be built on specialization of higher class.
All of the given options ok
Question # 3 of 10 ( Start time: 09:39:19 PM ) Total Marks: 1
Different messages in sequence diagrams includes:
Select correct option:
Simple
Asynchronous
Notify
Both Simple and Asynchronous ok
Question # 4 of 10 ( Start time: 09:39:41 PM ) Total Marks: 1
Fat Client Model is one of the configurations of ……Model.
Select correct option:
Data-centered
Layered
Reference
Client Server ok
Question # 5 of 10 ( Start time: 09:40:17 PM ) Total Marks: 1
Return values in Synchronous messages are represented by:
Select correct option:
A solid line
A dotted line with label ok
A solid line with label
Double line
Question # 6 of 10 ( Start time: 09:40:41 PM ) Total Marks: 1
The focus of sequence diagrams is:
Select correct option:
On objects (and classes) and message exchanged among them ok
On static Model of system
On object constraints
None of the given options
Question # 7 of 10 ( Start time: 09:41:05 PM ) Total Marks: 1
Which of the following is not part of software architecture?
Select correct option:
databases
data design
program structure
algorithm details ok
Question # 8 of 10 ( Start time: 09:41:35 PM ) Total Marks: 1
The purpose of Interaction diagrams is to:
Select correct option:
Model interactions between objects
Assist in understanding how a system (a use case) actually works
Identify responsibilities/operations and assign them to classes
All of the given options ok
Question # 9 of 10 ( Start time: 09:41:56 PM ) Total Marks: 1
In the architecture trade-off analysis method the architectural style should be described using the
Select correct option:
data flow view
module view
process view
all of the given ok
Question # 10 of 10 ( Start time: 09:42:18 PM ) Total Marks: 1
Sequence of messages can be present in:
Select correct option:
Sequence diagram
Collaboration diagram
In both type of diagrams
Use case diagram ok
Question # 1 of 10 ( Start time: 09:28:33 PM ) Total Marks: 1
In sequence diagram, the boxes denote:
Select correct option:
Objects (or classes) ok
Messages, sent from one object to other
Life-time of Objects
None of the given options
Question # 2 of 10 ( Start time: 09:29:17 PM ) Total Marks: 1
Whole Part Structure is also called ______
Select correct option:
Generalization
Aggregation ok
Specialization
Question # 3 of 10 ( Start time: 09:29:50 PM ) Total Marks: 1
The focus of sequence diagrams is:
Select correct option:
On objects (and classes) and message exchanged among them
On static Model of system
On object constraints
None of the given options
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
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
Question # 4 of 10 ( Start time: 09:30:41 PM ) Total Marks: 1
Development view in Krutchen’s 4+1 architectural view model captures
Select correct option:
Object model of the design ok
Concurrency and synchronization aspects of the design
Mapping(s) of the software onto the hardware and reflects its distributed aspect
Static organization of the software in its development environment
Question # 5 of 10 ( Start time: 09:31:06 PM ) Total Marks: 1
In the classical thin-client architecture, the entire processing is carried-out by -----------
Select correct option:
Single server ok
multiple servers
multiple servers
None of the given
Question # 6 of 10 ( Start time: 09:31:32 PM ) Total Marks: 1
_________________ architectural model is widely used in mainframe application.
Select correct option:
Client-Server Model ok
Repository Model
Filter Model
Layered Model
Question # 7 of 10 ( Start time: 09:32:15 PM ) Total Marks: 1
A useful technique for evaluating the overall complexity of a proposed architecture is to look at the component
Select correct option:
number and size of components
flow dependencies and sharing dependencies
size and cost
none of the given
Question # 8 of 10 ( Start time: 09:33:34 PM ) Total Marks: 1
The purpose of Interaction diagrams is to:
Select correct option:
Model interactions between objects
Assist in understanding how a system (a use case) actually works
Identify responsibilities/operations and assign them to classes
All of the given options ok
Question # 9 of 10 ( Start time: 09:34:01 PM ) Total Marks: 1
In the case of zero-install, the network environment is used to ---------server side processing by adding a number of servers which share processing load.
Select correct option:
Distribute ok
Centeralize
Clone
None of the given
Question # 10 of 10 ( Start time: 09:34:29 PM ) Total Marks: 1
Data-Centered Architectural Style is also called ….
Select correct option:
Repository model ok
Client Server model
Sub system model
Reference model
Question # 9 of 10 ( Start time: 08:44:28 PM ) Total Marks: 1
An architectural style encompasses which of the following elements?
Select correct option:
constraints
set of components
semantic models
all of the given ok
Question # 10 of 10 ( Start time: 08:45:17 PM ) Total Marks: 1
The purpose of Interaction diagrams is to:
Select correct option:
Model interactions between objects
Assist in understanding how a system (a use case) actually works
Identify responsibilities/operations and assign them to classes
All of the given options ok
Question # 5 of 10 ( Start time: 11:18:25 PM ) Total Marks: 1
Class responsibilities are defined by ___________.
Select correct option:
its attributes only
its collaborators
its operations only
both its attributes and operations ok
Question # 6 of 10 ( Start time: 11:19:12 PM ) Total Marks: 1
The first step in any OOA process model is to
Select correct option:
build an object-relationship model. ok
define collaborations between objects.
elicit customer requirements.
select a representation language.
Question # 7 of 10 ( Start time: 11:19:58 PM ) Total Marks: 1
"System should maintain transaction log of every transaction" The above statement is an example of
Select correct option:
Functional requirement ok
Non-functional requirement
Pseudo requirement
None of the given options
Question # 8 of 10 ( Start time: 11:20:42 PM ) Total Marks: 1
Prototyping is used when there is _________ regarding requirements.
Select correct option:
Uncertainty ok
Confirmation
Conflict
Consensus
Question # 9 of 10 ( Start time: 11:21:25 PM ) Total Marks: 1
In Abbot’s Textual Analysis technique, the proper noun (e.g. Mehdi Hassan) represents
Select correct option:
Class
Instance ok
Inheritance
Aggregation
Question # 10 of 10 ( Start time: 11:22:02 PM ) Total Marks: 1
To help separate an object's external behavior from its implementation, the technique used is called ___________.
Select correct option:
Generalization
Association
Composition
Abstraction ok
Question # 6 of 10 ( Start time: 10:57:59 PM ) Total Marks: 1
When a class gets physical existance in computer memory, it is called
Select correct option:
Parent Class
polymorphism
Static Object
Object ok
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 # 7 of 10 ( Start time: 10:58:14 PM ) Total Marks: 1
The intent of Object Oriented Analysis (OOA) is to define:
Select correct option:
All classes
Relationships among classes
Behavior of classes
All of the given options ok
Question # 8 of 10 ( Start time: 10:58:28 PM ) Total Marks: 1
A _______ is not the real product but just a real looking mock-up of what would be eventually delivered.
Select correct option:
Software
Program
Prototype ok
Test Case
Question # 9 of 10 ( Start time: 10:58:45 PM ) Total Marks: 1
Normally a System will be more easy to modify if its modules have:
Select correct option:
High coupling and High cohesion.
High coupling and Low cohesion.
Low coupling and High cohesion. ok
Low coupling and Low Cohesion.
Question # 10 of 10 ( Start time: 10:59:17 PM ) Total Marks: 1
Prototyping is used when there is _________ regarding requirements.
Select correct option:
Uncertainty ok
Confirmation
Conflict
Consensus
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 = ‘\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
In the switch statement, cases should always end with a -------statment.
Switch
Go
Break
Stop
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(!(block < activeBlock)) is equvivalent to.
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
The order in which bytes of one word are stored is _________ dependent.
Hardware
Software
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
Complex expressions.
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandability
In the switch statement, cases should always end with a -------statement.
Switch
Go
Break
Stop
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’
using proper paranthesis normally makes the code.
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.
True
False
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
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
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.
Be very careful when you use functions with side effects – functions that change the values of the ________.
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
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
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
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)
using proper paranthesis normally makes the code
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.
True
False
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
Be very careful when you use functions with side effects – functions that change the values of the ________.
Objects
Classes
Structures
Variables
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
The C/C++ language has not specified whether ____ is arithmetic or logical.
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
Modularity is a tool that can help us in increasing the size of individual functions, making them less readable.
True
False
Thanks everone