Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Data Flow Model:
Select correct option:
Captures the flow of data in a system
Helps in developing an understanding of system’s functionality
Describes data origination, transformations and consumption in a system
All of the given options ok
Which of following is/are among ten things,which the basic template of GOF design pattern includes.
Select correct option:
Problem
Context
Forces
All of the given
Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring
Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1
Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring
Question # 5 of 10 ( Start time: 06:20:06 PM ) Total Marks: 1
Patterns are devices that allow programs to share knowledge about their -------------.
Select correct option:
Code
Design
Analysis
None of the given
Question # 6 of 10 ( Start time: 06:22:07 PM ) Total Marks: 1
Client server model tries to …….data and processing.
Select correct option:
Distribute
Merge
Clone
Proceed
A Process in Data Flow Diagram (DFD) represents
Select correct option:
Flow of data
Transformation of data ok
Storage of data
An external agent
Construction activities are directly related to software _________.
Select correct option:
Management
Planning
Quality Assurance
Development ok
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering ok
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software ok
Logical Data
Utility Software
Code should not be:
Select correct option:
commented (Page 162)
indented
cryptic
aligned
Complex expressions:
Select correct option:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandablity
________ and _________ are two important tools that helps in managing the program complexity.
Select correct option:
Composition, Inheritance
Abstraction, Encapsulation (Page No. 170)
Aggregation, Inheritance
Modularity, Composition
A self documenting code is a code that explains itself without the need of comments and extraneous documentation, like _______
Select correct option:
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices (Page no. 147)
Global variables in C++ should always be referred to by using the
Select correct option:
:: operator (Page No. 150)
: operator
Without an operator
None of the given
The number __________ is the most abused symbol in programs written in C or C++.
Select correct option:
1
0 (Page No. 169)
2
3
The expressions with logical operators can be evaluated only from ___________________.
Select correct option:
Right to left
Left to right (Page No. 173)
Top to bottom
Bottom to top
Which indent size eliminates the chance of code lines splitting?
Select correct option:
2 (Page No. 163)
4
3
6
Class variables should never be declared public. Public variables violate which of the following:
Select correct option:
Information hiding
Encapsulation
Information hiding and Encapsulation (Page No. 158)
None of the given
________ and ________ are important short circuiting logical operators. a.AND b. OR c. NOT d. NOR
Select correct option:
a & b Correct
b & c
c & d
a & c
DFD Notation contains
► Data Store
► Extenal Agents
► Processes
► All of the given chap4 page 10
A complex System evolves from a
► smaller system
► medium sysetem
► bigger system
► non of the given chapter 6 p2 (simple system)
Requirement engineering mainly deals with the -------------- of the system
► definition phase chapter 3 p 2
► development phase
► maintenance
► non of the above
Insufficient user involvement leads to ------------- products.
► unacceptable chapter 3 p 5
► ambigious
► dissatisfaction of customer to
► non of the above
No: 10 ( Marks: 1 ) - Please choose one
Which one is not the purpose of Interaction Diagrams ?
► Model interactions between objects
The Use case diagram does not show which actors interact with each use case Select correct option:
TRUE
FALSE
A Process in Data Flow Diagram (DFD) represents
Select correct option:
Flow of data
Transformation of data
Storage of data
An external agent
A context diagram is used
Select correct option:
as the 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
In Data Flow Diagram (DFD), one data store can directly copy the data from another data store Select correct option:
TRUE
FALSE
3:53 PM
The system model template contains which of the following elements Select correct option:
input output output
all of the given
To construct a system model the engineer should consider one of the following restraining factors? Select correct option:
assumptions and constraints
budget and expenses
data objects and operations schedule and milestones
In data flow diagram (DFD), Create, Update, Delete and Read operations are normally called: Select correct option:
CRUD operations
DURC operations
RUDC operations
CDUR operation
The "extends" relationship is kind of a generalization specialization relationship. Select correct option:
TRUE
FALSE
The Use case diagram does not show which actors interact with each use case Select correct option:
TRUE
FALSE
There are some types of requirements that can not be documented in the use cases. Select correct option:
TRUE
FALSE
Arranging information in tabular form makes it easy to read, understand and comprehend as compared to streams of text.
Select correct option:
TRUE
FALSE
To construct a system model the engineer should consider one of the following restraining factors? Select correct option:
assumptions and constraints
budget and expenses
data objects and operations schedule and milestones
The best way to conduct a requirements validation review is to Select correct option:
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 questions to examine each requirement
Data Flow diagram (DFD) does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
TRUE
FALSE
GUI stands for:
Select correct option:
Genaric User Interface
Graphical User Interface
Genaric User Interaction
Graphical User Interaction
Question # 10 of 10 ( Start time: 04:05:00 PM ) Total Marks: 1
System models are built to allow the system engineer to evaluate the system components in relationship to one another
Select correct option: True
False
DFD Notation contains
► Data Store
► Extenal Agents
► Processes
► All of the given chap4 page 10
A complex System evolves from a
► smaller system
► medium sysetem
► bigger system
► non of the given chapter 6 p2 (simple system)
Requirement engineering mainly deals with the -------------- of the system
► definition phase chapter 3 p 2
► development phase
► maintenance
► non of the above
Insufficient user involvement leads to ------------- products.
► unacceptable chapter 3 p 5
► ambigious
► dissatisfaction of customer to
► non of the above
Which one is not the purpose of Interaction Diagrams ?
► Model interactions between objects
► Assist in understanding how a system (a use case) actually works
► Identify responsibilities/operations and assign them to classes
► Identify dependencies among objecs chapter 7 p23
Which one is not a type of messages which Sequence Diagrams Depict
► Synchronous
► Asynchronous
► Create
► Update chapter 7 p 25
The two main documents produced during this phase are Requirement Statement and Requirement Specification. They are also called Requirement Definition and ---------------
-
► Functional Specification p10 chapter 3
► Mathematical specification
► System Specification
► None of the given
Project ------------- defines the concept and range of the proposed solution, and limitations
identify certain capabilities that the product will not include
► Scope p14 chapter 3
► Agreement
► Plan
► None of the given
A change becomes ------------- because of close presence of data and functions
► Localized
► Private
► Global
► Accessible
A complex System evolves from a
► smaller system
► medium sysetem
► bigger system
► non of the given
Coupling is a measure of ----------------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
Interaction Diagrams depict the ------------- Behavior of the system p23 chapter7
► Static
► Dynamic
► Active
► Non of the above
In Sequence Diagrams the time required by the receiver object to process the message is denoted by an---------------
► Activation Box
► Simple Box
► Arrow
► Non of the above
A poorly designed interface can cause a user to make catastrophic errors is one of the motivations for GUI
► True
► False
Identifying System Features include ------
► log important information
► conduct business
► analyze business results
► all of the above
Establishing responsibilities for objects includes
► Generalization Relationships
► Specialization Relationships
► all of the above
► identifying Association relationships
Which of the following is a fact finding method?
► Site visits
► Prototyping
► Study of similar systems
► All of given
The Object Oriented approach
► improves the reusability of codes.
► makes objects less independent.
► increases testing time.
complicates mapping of a system model to an implementation model
0. Client Server model tries to data and processing Distribute
Merge Clone Proceed
1. Anti- Patterns is another concept that corresponds to common in analysis and design.
Mistake Issues
Problems
All of the given
2. Three tier architecture contains layers
Presentation
Application
Database
All of the above
4. MVC stands for
Model View Controller
Modern View Center
Model View Center
Modern View Controller
5. Fat client model is one of the configurations of model
Data-Centered
Layered
Reference
Client Server
6. Description of communicating objects and classes that are customized to solved a general problem in a particular context is called
Design Pattern
System Patter System Design None of the Given
7. In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
Usability
Performance
Interpretability
None of the given
8. Thin Client model is one of the configurations of ….. model
Data Centered
Client Server
Layered
Reference
9. Dynamic process model shows the process ………….. of the system
Components
Objects
Structure
Linkage
10. It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern Real Pattern None of the given
11. STL Stnads for ------------------
Standard Template Library
Standard Type Link
Standard Tempo Line
None of the given
12. Three tier architecture contains ------------- layers
Select correct option:
Presentation
Application
Database
All of the above
13. Which of following is/are among ten things,which the basic template of GOF design pattern includes.
Select correct option:
Problem
Context
Forces
All of the given
14. Vertical partitioning is also known as…..
Select correct option:
Balancing
Mutating
Parallelizing
Factoring
15. Patterns are devices that allow programs to share knowledge about their ---------
----.
Select correct option:
Code
Design
Analysis
None of the given
16. Client server model tries to …….data and processing.
Select correct option:
Distribute
Merge
Clone
Proceed
17. N-tier architecture stems from the struggle to find a ----------- between the fat-
client architecture and the thin-client architecture.
Select correct option:
Concurrency
Distribution point
Middle ground
Similarity
18. Vertical partitioning divides the architecture application from a …… making perspective.
Decision
Design Conclusion Move
19. Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture.
Select correct option:
Subtracting
Partitioning
Cloning
Balancing
----Provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
In Client Server model, there application is modeled as a set so --- that are provided by server.
Application
Protocol
Services
All of the above
Vertical Partitioning is also know as.
Balancing
Mutating
Parallizing
Factoring
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
True
False
Which of the is/are among ten things which the basis template of GOF design pattern includes.
Problem
Context
Forces
All of the above
----Provides a unified interface to a set of interfaces in a sub-system.
Observer Pattern
Singleton Pattern
Façade Pattern
All of the above
In Client Server model, there application is modeled as a set so --- that are provided by server.
Application
Protocol
Services
All of the above
Vertical Partitioning is also know as.
Balancing
Mutating
Parallizing
Factoring
Façade Pattern provides a unified interface to a set of interfaces ina sub-system.
True
False
Which of the is/are among ten things which the basis template of GOF design pattern includes.
Problem
Context
Forces
All of the above
20.The nominal case should be put in the if-part and the exception in the else-part of an if statement.
Select correct option:
TURE
FALSE
21.Charles Simonyi first discussed Hungarian Notation. He was of ------ .
Select correct option:
Microsoft
IBM
Dell
Cisco
22.The terms get/set must be used where an attribute is accessed Select correct option:
Indirectly
Directly
23. A self documented program/code contains the following attribute(s):
Choice of variable
All of the given choices
24."is" prefix should be used for------ variables and methods.
Select correct option:
General
Boolean
Constant
None of the given
25.The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.
Select correct option:
TRUE
FALSE
26. Variables should be initialized where they are ------and they should be declared
in the ------scope possible.
Select correct option: defined and smallest declared and medium defined and medium
declared and smallest
27. Unrelated variables should be declared in the same statement.
Select correct option:
True
False
28. which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2
Select correct option:
(1) and (3) only
(2) and (3) only
(1) and (2) only
All procduce the same result
Variables should be initialized where they are ------and they should be declared in the ------scope possible.
Select correct option:
defined and smallest
declared and medium
defined and medium
declared and smallest Correct
_________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller pattern
Select correct option:
Smalltalk Correct
PASCAL
JAVA
C++
Names representing methods and functions should be----and written in mixed case starting with -----case.
Select correct option:
Noun—lower
Verb----lower Correct
Noun ---upper
Noun----upper
"is" prefix should be used for------ variables and methods.
Select correct option:
General
Boolean Correct
Constant
None of the given
The size of __________ plays a significant role in making the program easy or difficult to understand.
Select correct option:
function Correct
object
data type
none of the above
for (i =0, col = 0; i < 27; i++, j++) In the above line of the code, 27 is representing____________.
Select correct option:
Real Numbers
Magic Numbers Correct
Constant Numbers
Positive Numbers
In case of using unrelated operators in a single expression, _________ would be the best choice to prevent the logical errors.
Select correct option:
Comments
Indents
Parenthesis Correct
Short Cuts
Goto statements violate the idea of
Select correct option:
object oriented code
structured code Correct
control structure
repetition structure
Code should not be:
Select correct option:
commented Correct
indented
cryptic
aligned
using proper paranthesis normally makes the code
Select correct option:
easy to read
easy to understand Correct
less ambigous
All of the given options
MVC stands for ---------------
Select correct option:
Model View Controller Correct
Modern View Center
Model View Center
Modern View Controller
you spend 80 percent of your time in 20 percent of the code Correct
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.
In case of header files, construction is to avoid ------ errors. The construction should appear in the top of the file (before the file header).
Select correct option:
compilation Correct
run time
logical
All of the given
________ is a tool that can help us in reducing the size of individual functions.
Select correct option:
Inheritance
Modularity Correct
Association
Abstraction
When a small set of functions (which use each other) is so overwhelmingly the bottleneck, there are two alternatives:
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
_______ cause major portability issues
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures
In the switch statement, cases should always end with a -------statment.
Switch
Go
Break
Stop
use a better algorithm OR re-write the code
debug the code OR place assertions in code
remove the functions OR add more functions
changed programming language OR compiler at least
_______ cause major portability issues
Loops (Not Sure)
Bugs in code
Sizes of data types
Conditional Structures
In the switch statement, cases should always end with a -------statment.
Switch
Go
Break
Stop
Some bit field members are stored: I) left to right II) right to left III) in circular array.
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
only (I) is true
Only (II) is true
Both (I) and (II) are true
All of the options (I, II and III) are true
x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘\0’
Which of the following is used for multi level commenting?
Select correct option:
// Comment Correct
/* Comment */
(Comment)
*/ Comment/*
Constant values used in the program are called_________.
Select correct option:
Real Numbers
Magic Numbers Correct
Constant Numbers
Positive Numbers
________ and ________ are important short circuiting logical operators. a.AND b. OR c. NOT d. NOR
Select correct option:
a & b Correct
b & c
c & d
a & c
Three tier architecture contains ------------- layers.
Presentation
Application
Database
All of the above
Which of following is/are among ten things, which the basic template of GOF design pattern includes.
Problem
Context
Forces
All of the given
Vertical partitioning is also known as….. .
Balancing
Mutating
Parallelizing
Factoring
Vertical partitioning is also known as…...
Balancing
Mutating
Parallelizing
Factoring
Patterns are devices that allow programs to share knowledge about their -------.
Code
Design
Analysis
None of the given
Client server model tries to …….data and processing.
Distribute
Merge
Clone
Proceed
Charles Simonyi first discussed Hungarian Notation. He was of ------ .
Select correct option:
Microsoft Correct
IBM
Dell
Cisco
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
In Data Flow Diagram (DFD), data flow can:
Select correct option:
Only originate from an external entity
Only terminate in an external entity
Originate and terminate in an external entity ok
Either originate or terminate in an external entity but not both
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
A DFD is normally levelled (adding more levels of abstraction) as
Select correct option:
it is a good idea in design
it is recommended by many experts
it is easy to do it
it is easier to read and understand a number of smaller DFDs than one large DFD ok
System ________ are built to allow the System Engineer to evaluate the system components in relationship to one another.
Select correct option:
Requirements ok
Documents
Models
Test Cases
The <<extend>> relationship between use cases would be used when behavior in the extending use case is ____________ the extended use case.
Select correct option:
always needed by
never needed by
sometimes needed by
None of the given options
MVC stands for ---------------
Select correct option:
Model View Controller
Modern View Center
Model View Center
Modern View Controller
sec(s)
Question # 8 of 10 ( Start time: 01:59:40 PM ) Total Marks: 1
A self documenting code is a code that explains itself without the need of comments and
extraneous documentation, like _______
Select correct option:
Flowcharts
UML diagrams
Process-flow state diagrams
All of the given choices
sec(s)
Question # 10 of 10 ( Start time: 02:00:38 PM ) Total Marks: 1
Complex expressions:
Select correct option:
Make the code easy to modify
Make the code difficult to modify
Make the code easy to understand
Does not effect understandablity
Question # 10 of 10 ( Start time: 01:49:27 PM ) Total Marks: 1
Comments should NOT be indented relative to their position in the code
Select correct option:
TRUE
FALSE
The data on which the program operates is also considered as part of the ________.
Select correct option:
Important Data
Software ok
Logical Data
Utility Software
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Fat client model is one of the configurations of model.
Data-Centered
Layered
Reference
Client Server
Description of communicating objects and classes that are customized to solved a general problem in a particular context is called.
Design Pattern
System Patter
System Design
None of the Given
In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines.
Usability
Performance
Interpretability
None of the given
Thin Client model is one of the configurations of ….. model.
Data Centered
Client Server
Layered
Reference
Dynamic process model shows the process ….…….. of the system.
Components
Objects
Structure
Linkage
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system.
the system’s functionality for a particular purpose. ok
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints ok
budget and expenses
data objects and operations
schedule and milestones
A context diagram is used
Select correct option:
as the first step in developing a detailed DFD of a system ok
in systems analysis of very complex systems
as an aid to system design
as an aid to programmers
In _______ the analyst determines all the sources of requirements and where do these requirements consume
Select correct option:
Data Flow Analysis
Source and Sink Analysis ok
Down Parsing
Up Parsing
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor ok
Component
Relation
The project manager would need _________ document to monitor and track the progress of the project.
Select correct option:
Design
Project ok
Requirement
Planning
In Data Flow Diagram, the entity or system, outside the boundary of this system is called
Select correct option:
Process
Data Flow
External Agent ok
Data Store
Data cannot flow from one external entity to other external entity because:
Select correct option:
It will get corrupted
It is not allowed in DFD ok
An external entity has no mechanism to read or write
Both are outside the context of the system
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output ok
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system. ok
the system’s functionality for a particular purpose.
Following is/are example(s) of illegal data flow in Data Flow Diagram (DFD)
Select correct option:
External Agents directly communicating with each other
External Agent updating information in a Data Store
External Agent accessing information from a Data Store
All of the given options ok
Which one is not a part of Software Development phase ?
Select correct option:
Construction
Scope
Project Vision ok
Definition
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design ok
product planning
information strategy planning
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
A context diagram:
Select correct option:
describes detailed design of a system
is a DFD which gives an overview of the system ok
is a detailed description of a system
is not used in drawing a detailed DFD
The Use case diagram shows that which _______ interact with each use case.
Select correct option:
Use case
Actor ok
Component
Relation
The context diagram is used as the top level abstraction in a _______ developed according to principles of structured analysis.
Select correct option:
Dataflow diagram ok
Activity Diagram
State Transition Diagram
USe Case Diagram
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Data cannot flow from one external entity to other external entity because:
Select correct option:
It will get corrupted
It is not allowed in DFD ok
An external entity has no mechanism to read or write
Both are outside the context of the system
A context diagram:
Select correct option:
describes detailed design of a system
is a DFD which gives an overview of the system ok
is a detailed description of a system
is not used in drawing a detailed DFD
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
______ is one of the techniques to document domain knowledge
Select correct option:
State transition diagram ok
Feasibility matrix
System matrix
None of given options
In Data Flow Diagram, the entity or system, outside the boundary of this system is called
Select correct option:
Process
Data Flow
External Agent ok
Data Store
_________ diagram does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
Sequence
Data Flow ok
Activity
Class
________ structure represents the internal organization of the various data and control items.
Select correct option:
Data not confirm
Value
Information
Conceptual
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
Which elements of business processing engineering are the responsibilities of the software engineer?
Select correct option:
business area analysis
business system design ok
product planning
information strategy planning
The three most important characteristics of an object are
Select correct option:
Identity
State
Behavior
All of the given
In __________ relationship, a class shares the structure and behavior defined in another class.
Select correct option:
Aggregation
Composition
Inheritance
Uses
In Abbot’s Textual Analysis technique, the proper noun (e.g. Mehdi Hassan) represents
Select correct option:
Class
Instance
Inheritance
Aggregation
In ______The objects are organized in a horizontal line and the events in a vertical time line.
Sequence diagram
An object or class may further be classified on the basis of
► Behavior Driven attributes
► Data Driven attributes
► Responsibility Driven attributes
► All of the above chap 7 p 4
A public Interface provides a way for with other Classes.
► Comminication
► Accessibility
► Reaching
► All of the above
By following modern system engineering practices simulation of reactive systems is no longer necessary
► True
► False click here for detail
The state transition diagram
► depicts relationships between data objects
► depicts functions that transform the data flow
► indicates how data are transformed by the system
► indicates system reactions to external events click here for detail
Control flow diagrams are
► needed to model event driven systems. Click here for detail
► required for all systems
► used in place of data flow diagrams
► useful for modeling user interfaces
A change becomes ------------- because of close presence of data and functions
► Localized (page 81)
► Private
► Global
► Accessible
Question No: 5 ( Marks: 1 ) - Please choose one
A complex System evolves from a
► smaller system page 83 click here for detail
► medium sysetem
► bigger system
► non of the given
Coupling is a measure of ----------------of a module or component.
► Independent (Page 71)
► Dependent
► Closeness
► All of the given
Complex expressions.
Make the code easy to modifyMake the code difficult to modify
Make the code easy to understand
Does not effect understandability
Make the code easy to modifyMake the code difficult to modify
Make the code easy to understand
Does not effect understandability
x = 0; // x is floating pt Which rewritten form of above line of code is more in line with the self-documentation philosophy than the code above.
x = false
x = NULL
x = 0.0;
x = ‘\0’
x = false
x = NULL
x = 0.0;
x = ‘\0’
using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambiguous
All of the given options
easy to read
easy to understand
less ambiguous
All of the given options
The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure.
TrueFalse
TrueFalse
Bit fields allow the packing of data in a structure. using Bit fields we can:
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
Read 9 bit integers
Avoid memory leakages
Avoid memory overflow
Avoid syntax errors
1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1;
Statement (2) is more complex than (1)Statement (2) is more complex than (1)
Both statements are very complex
None of the given option
Statement (2) is more complex than (1)Statement (2) is more complex than (1)
Both statements are very complex
None of the given option
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.
► what (Page 17)
► How
► When
► Why
Interaction Diagrams depict the ------------- Behavior of the system
► Static
► Dynamic (Page 106)
► Active
► Non of the above
In Sequence Diagrams the time required by the receiver object to process the message is denoted by an---
-----
► Activation Box (Page 108)
► Simple Box
► Arrow
► Non of the above
A poorly designed interface can cause a user to make catastrophic errors is one of the motivations for GUI.
► True (Page 62)
► False
Most software continues to be custom built because
► Software is easier to build without using someone else's components.
UML (unified modeling language) analysis modeling focuses on the _________________ .
► behavioral model and environment model.
► behavioral model and implementation model.
► user model and environmental model
► user model and structural model A P R A C T I T I O N E R ’ S A P P R O A C H (Page 604)
The data flow diagram must be augmented by descriptive text in order to describe the functional requirements for a software product.
► True Click here for detail
► False
It is not possible to use ordinary data flow diagrams to model the functional requirements of real-time systems.
► True
► False Click here for detail
► Off the shelf software components are not commonly available Click here for detail
► Component reuse is common in the software world
► Reusable components are too expensive to use
Question No: 2 ( Marks: 1 ) - Please choose one
Which of the items listed below is not one of the software engineering layers?
► Tools
► Process
► Manufacturing Click here for detal ►
Methods
An state transition can only occur when triggered by a(n)________________
► actor
► collaboration attempt
► event
► none of the given
The evolution of the system depends on a sequence of state transitions triggered by a set of coming events.
A change becomes ------------- because of close presence of data and functions
► Localized (page 81)
► Private
► Global
► Accessible
Once these requirements have been finalized, the ---------------- process starts.
► Construction (Page 18)
► Development
► Maintenance phase
► Construction and Development
Identifying Whole-Part structures (Aggregations) means what are my ----------------
► Components (Page 95)
► Structures
► Objecs
► Classes
In ______The objects are organized in a horizontal line and the events in a vertical time line.
Sequence diagram
An object or class may further be classified on the basis of
► Behavior Driven attributes
► Data Driven attributes
► Responsibility Driven attributes
► All of the above chap 7 p 4
A public Interface provides a way for with other Classes.
► Comminication
► Accessibility
► Reaching
► All of the above
A complex System evolves from a
► smaller system
► medium sysetem
► bigger system
► non of the given
Coupling is a measure of ----------------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.
► what
► How
► When
► Why
Interaction Diagrams depict the ------------- Behavior of the system
► Static
► Dynamic
► Active
► Non of the above
Most software continues to be custom built because
► Software is easier to build without using someone else's components.
► Off the shelf software components are not commonly available
► Component reuse is common in the software world
► Reusable components are too expensive to use
Which of the items listed below is not one of the software engineering layers?
► Tools
► Process
► Manufacturing
► Methods
Which of these people would not be likely to part of the FAST team?
► hardware and software engineers
► manufacturing representative
► marketing representatives
► senior financial officers
An state transition can only occur when triggered by a(n)________________
► actor
► collaboration attempt
► event
► none of the given
Identifying System Features include ------
► log important information
► conduct business
► analyze business results
► all of the above p15 chapter 7
________ has become a standard notation for object oriented system modeling.
Select correct option:
UML
C++
OCL (object Constraint Language)
None of the given options
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
Different messages in sequence diagrams includes:
Select correct option:
Simple
Asynchronous
Notify
Both Simple and Asynchronous
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
Interoperability
None of the given
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
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
Aynchronous messages :
Select correct option:
are implemented as operation call
These block caller before response occurs in multi-threaded applications are shown by dotted line
In the classical thin-client architecture, the entire processing is carried-out by -----------
Select correct option:
Single server multiple servers multiple servers
None of the given
Zero install architecture does not need any installation on ____________.
Select correct option:
Server Side
Client side Client & Server Side
None of the above
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
__________________ relationship is concerned with classes not with the class instantiates.
Select correct option:
Association
Inheritance
Aggregation
Composition
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
The most important and critical stage in the object oriented design is the appropriate classification of _________.
Select correct option:
functions
methods
objects
relationships
A cohesive Class is one which emphasizes on ____ unit of functionality
Select correct option:
Single
Multiple
Static
None of the given options
N-tier architecture stems from the struggle to find a ----------- between the fat-client architecture and the thin-client architecture.
Concurrency
Distribution point
Middle ground
Similarity
Vertical partitioning divides the architecture application from a …… making perspective.
Decision
Design
Conclusion
Move
Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture.
Subtracting
Partitioning
Cloning
Balancing
The nominal case should be put in the if-part and the exception in the else-part of an if statement.
TURE
FALSE
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
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
___________ is an extremely powerful technique for dealing with complexity.
Select correct option:
Aggregation
Abstraction
Inheritance
Association
If you try to make software more user-friendly then the ________ may suffer.
Select correct option:
Reliability
software
Efficiency
cost ok
The goal of _______ is to translate the customer's desire for a set of defined capabilities into a working product.
Select correct option:
Electrical Engineering
Product Engineering ok
Hardware Engineering
Mechanical Engineering
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
A use case represents:
Select correct option:
a class, its attributes and operations.
an operation’s interface and signature.
the role a user plays when interacting with the system. not confirm
the system’s functionality for a particular purpose.
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints
budget and expenses
data objects and operations ok not confirm
schedule and milestones
At which stage of software development loop, results are delivered?
Select correct option:
Problem definition
Solution integration
Technical development
Status quo ok
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
Regarding Flow Chart which of the following statement(s) is/are TRUE:
Select correct option:
Flow charts are usually used to describe flow of control in a system ok
Flow Charts just show the flow of the data in a system.
Looping or Iterations can not be represented in Flow Chart
None of given options
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
To construct a system model the engineer should consider one of the following restraining factors?
Select correct option:
assumptions and constraints
budget and expenses
data objects and operations
schedule and milestones
The __________ relationship is kind of a generalization specialization relationship.
Select correct option:
Bit-Byte
Uses
Binary
Extends ok
The process of utilizing our knowledge of computer science in effective production of software systems is called ________.
Select correct option:
Chemical Engineering
Electrical Engineering
Computer Engineering
Software Engineering ok
_________ diagram does not capture control flow information, it just shows the flow of the data in a system.
Select correct option:
Sequence
Data Flow ok
Activity
Class
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
In Data Flow Diagram (DFD), one data store cannot directly copy the data from another _________ .
Select correct option:
Agent
Process
Data store ok
Flow
The system specification describes the
Select correct option:
function and behavior of a computer-based system ok
implementation of each allocated system element
algorithmic detail and data structures
time required for system simulation
In use case diagram, an ellipse signifies a(n):
Select correct option:
actor
class
use case not conrfirm
system boundary
______ is one of the techniques to document domain knowledge
Select correct option:
State transition diagram ok
Feasibility matrix
System matrix
None of given options
System models include:
Select correct option:
User business processes
User activities for conducting the business processes
Processes that need to be automated
All of the given options ok
The architecture components for product engineering are
Select correct option:
data, hardware, software, people ok
data, documentation, hardware, software
data, hardware, software, procedures
documentation, hardware, people, procedures
A DFD is normally levelled (adding more levels of abstraction) as
Select correct option:
it is a good idea in design
it is recommended by many experts
it is easy to do it
it is easier to read and understand a number of smaller DFDs than one large DFD ok
The use of traceability tables helps to
Select correct option:
debug programs following the detection of run-time errors
determine the performance of algorithm implementations
identify, control, and track requirements changes
none of the given ok
An external entity that interacts with a system is called a(n):
Select correct option:
use case
actor ok
stakeholder
association
In data flow diagram (DFD), Create, Update, Delete and Read operations are normally called:
Select correct option:
CRUD operations ok
DURC operations
RUDC operations
CDUR operation
The condition that must be met before the use case can be invoked, is called:
Select correct option:
Pre-Condition ok
Post-Condition
Pre-Assertion
Post-Assertion
Using proper paranthesis normally makes the code.
easy to read
easy to understand
less ambigous
All of the given options
Which of the following shows a commented statement in C++.
# Ans = first + second
// Ans = first + second
\\ Ans = first + second
/# Ans = first + second
The form for (;;) should be used for.
nested loop
empty loop
more than 1000 iterations
Identifier names also play a significant role in enhancing the -------- of a program.
Writ ability
Readability
Reliability
It ensures that a class only has one instance and provides a global point of access to it.
Singleton Pattern
Observer Pattern
Real Pattern
None of the given
Names representing methods and functions should be----and written in mixed case starting
with -----case.
Noun—lower
Verb----lower
Noun ---upper
The system model template contains which of the following elements
Select correct option:
Input
Output
System Out
Input / Output ok
CS504 - Software Engineering - Imcqs solved CS504 - Software
Engineering - Iquiz mega file CS504
- Software Engineering - Imidterm solved papers 2017 CS504 - Software
Engineering - Isolved mcqs mega file CS504 - Software
Engineering - Imidterm solved papers 2016 CS504 - Software
Engineering - I midterm papers CS504 - Software
Engineering - Ifinal term solved mcqs mega file CS504 - Software
Engineering - I handouts CS504
- Software Engineering - Ilectures CS504 - Software
Engineering - I assignment CS504
- Software Engineering - Ihandouts CS504 - Software
Engineering - I assignment solution 2018 CS504 - Software
Engineering - Ippt slides CS504
- Software Engineering - Iassignment no 2 solution 2018 CS504 - Software
Engineering - Imidterm solved papers by moaaz CS504 - Software
Engineering - Ifinal term solved mcqs by moaaz