MCQS for Midterm cs504 Combined by Anees...

129
MCQS for Midterm cs504 Combined by Anees Ahmad 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 cannot flow from one external entity to other external entity because: Select correct option: 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 Use case construction is a technique used for: Select correct option: requirements determination. requirements structuring. user interface design. database design. The <<extend>> relationship between use cases would be used when behavior in the extending use case is __________ the extended use case always needed by never needed by sometimes needed by None of the given options In use case diagram, an ellipse signifies a(n): Select correct option:

Transcript of MCQS for Midterm cs504 Combined by Anees...

MCQS for Midterm cs504 Combined by Anees Ahmad

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 cannot flow from one external entity to other external entity because: Select correct option: 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 Use case construction is a technique used for: Select correct option: requirements determination. requirements structuring. user interface design. database design. The <<extend>> relationship between use cases would be used when behavior in the extending use

case is __________ the extended use case

always needed by never needed by sometimes needed by None of the given options

In use case diagram, an ellipse signifies a(n): Select correct option:

actor

class use

case system boundary An arrow in Data Flow Diagram (DFD) represents Select correct option: Direction of flow of data Processing of data External agent Internal agent system models are built to allow the system engineer to evaluate the system components in relationship to one another Select correct option: True False Process in Data Flow Diagram (DFD) represents

Select correct option:

Flow of data Transformation of data Storage of data An external agent The Use case diagram does not show which actors interact with each use case

Select correct option:

TRUE FALSE The condition that must be met before the use case can be invoked, is called: Select correct option:

Pre-Condition Post-Condition Pre-Assertion Post-Assertion 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 An external entity has no mechanism to read or write Both are outside the context of the system

A prototype is not the real product but just a real looking mock-up of what would be eventually

delivered Select correct option: TRUE FALSE 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 Use case construction is a technique used for: Select correct option: requirements determination. requirements structuring. user interface design. database design. The "extends" relationship is kind of a generalization specialization relationship. Select correct option: TRUE FALSE 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 3:41 PM 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 Question # 1 of 10 ( Start time: 04:00:12 PM ) Total Marks: 1 The Use case diagram does not show which actors interact with each use case Select correct option: TRUE FALSE

Question # 2 of 10 ( Start time: 04:00:39 PM ) Total Marks: 1

There are some types of requirements that can not be documented in the use cases. Select correct option: TRUE FALSE Question # 3 of 10 ( Start time: 04:01:01 PM ) Total Marks: 1 Arranging information in tabular form makes it easy to read, understand and comprehend as compared to streams of text. Select correct option:

TRUE FALSE Quiz Start Time: 04:00 PM Time Left 88 sec(s) Question # 4 of 10 ( Start time: 04:01:25 PM ) Total Marks: 1 To construct a system model the engineer should consider one of the following restraining factors? Select correct option: assumptions and constraints

budget and expenses data objects and operations schedule and milestones Question # 7 of 10 ( Start time: 04:03:01 PM ) Total Marks: 1 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 Question # 8 of 10 ( Start time: 04:04:04 PM ) Total Marks: 1 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 Question # 9 of 10 ( Start time: 04:04:38 PM ) Total Marks: 1 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

CS-504 Software Engineering-I

Quiz No.2 May, 07 2012

Solved By Fukar and his team 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 (correct answer) 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 existence 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 …Correct Answer 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

layer

The class and object

The Abstract layer -------------------- Correct Answer

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 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 --------------------Correct Answer 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

layer

The class and object

The Abstract layer ------------------------- Correct Answer

The message layer

When a class gets physical existence in computer memory, it is called Select correct option: Parent Class polymorphism Static Object Object------------- Correct Answer 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---- Correct Answer 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 -----------------Correct Answer 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 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

BC090402200: Muhammad Waqas Question # 1 of 10 (Start time: 12:50:53 AM) 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

Question # 2 of 10 (Start time: 12:52:12 AM) Total Marks: 1 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

Question # 3 of 10 (Start time: 12:52:59 AM) Total Marks: 1 A cohesive Class is one which emphasizes on ____ unit of

functionality Select correct option:

Single Multiple Static None of the given options

Question # 4 of 10 (Start time: 12:54:21 AM) Total Marks:

1 Selecting Objects (in a domain) include: Select correct option:

Selecting Actors Selecting Participants Select Places All of the above

Question # 5 of 10 (Start time: 12:55:26 AM) 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

Question # 6 of 10 (Start time: 12:56:40 AM) Total Marks: 1 Class responsibilities are defined by ___________. Select correct option:

its attributes only its collaborators its operations only both its attributes and operations

Question # 7 of 10 (Start time: 12:57:18 AM) Total Marks: 1 Modules with high cohesion and low coupling can be treated and analyzed

as: Select correct option:

White Boxes Black Boxes Gray Boxes None of the given options

Question # 8 of 10 (Start time: 12:58:22 AM) 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 Generalization Specialization

MIDTERM EXAMINATION 2010

Question No: 1 ( Marks: 1 ) - Please choose one

By following modern system engineering practices simulation of reactive systems is no longer necessary ► True

► False click here for detail

Question No: 2 ( Marks: 1 ) - Please choose one

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

Question No: 3 ( Marks: 1 ) - Please choose one

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

Question No: 4 ( Marks: 1 ) - Please choose one

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

Question No: 6 ( Marks: 1 ) - Please choose one

Coupling is a measure of ----------------of a module or component. ► Independent (Page 71) ► Dependent

► Closeness

► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one

Software Maintenance phase involves ► Debugging

► Adding new features

► making changes

► all of the given click here for detail

Question No: 8 ( Marks: 1 ) - Please choose one

The hardest single part of building a software system is deciding precisely ----------- to build. ► what (Page 17)

► How

► When

► Why

Question No: 9 ( Marks: 1 ) - Please choose one

Interaction Diagrams depict the ------------- Behavior of the system ► Static

► Dynamic (Page 106)

► Active

► Non of the above

Question No: 10 ( Marks: 1 ) - Please choose one

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

Question No: 11 ( Marks: 1 ) - Please choose one A poorly designed interface can cause a user to make catastrophic errors is one of the motivations for GUI. ► True (Page 62)

► False

Question No: 12 ( Marks: 1 ) - Please choose one

Identifying System Features include ------

► log important information

► conduct business

► analyze business results

► all of the above (Page 98)

Question No: 13 ( Marks: 1 ) - Please choose one

Establishing responsibilities for objects includes ► Generalization Relationships

► Specialization Relationships ► all of the above (Page 86) ► identifying Association relationships

Question No: 14 ( Marks: 1 ) - Please choose one

Which of the following is a fact finding method? ► Site visits ► Prototyping ► Study of similar systems

► All of given Seven common fact-finding methods (Sampling, Research, Observation, Questionnaires, Interviews, Prototyping, Joint Requirements Planning) are introduced as a means to discover requirements.

Question No: 15 ( Marks: 1 ) - Please choose one Windows mobile is a popular mobile operating system which seen commonly on PDAs. Which of the following category pair(s) best describe(s) it? ► Application software, embedded software

► system software, web-based software

► application software, scientific software

► system software, embedded software

Question No: 16 ( Marks: 1 ) - Please choose one

The Object Oriented approach ► improves the reusability of codes. (Page 83)

► makes objects less independent. ► increases testing time.

► complicates mapping of a system model to an implementation model.

The object-oriented approach improves the maintainability, reusability, and extensibility of the software Click here for Detail

MIDTERM EXAMINATION 2010

Question No: 1 ( Marks: 1 ) - Please choose one 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 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

Question No: 3 ( Marks: 1 ) - Please choose one

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 A P R A C T I T I O N E R ’ S A P P R O A C H (Page 305)

Question No: 4 ( Marks: 1 ) - Please choose one

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.

Question No: 5 ( Marks: 1 ) - Please choose one

A change becomes ------------- because of close presence of data and functions

► Localized (page 81)

► Private

► Global

► Accessible

Question No: 6 ( Marks: 1 ) - Please choose one A process which does not take input is called

► miracle process Miracle": Process has output, but no input

► core process

► secondary process

► all of the above Question No: 7 ( Marks: 1 ) - Please choose one Data Store notation in DFDs presents.

► Data input

► Data output

► Data input and Data output (Page 54)

► non of the given

Click here for detail

Question No: 8 ( Marks: 1 ) - Please choose one

Coupling is a measure of ---------------- of a module or component.

► Independent (Page 71)

► Dependent

► Closeness

► All of the given

Question No: 9 ( Marks: 1 ) - Please choose one

If a problem is identified and fixed at a ------- stage in the software development process, it will cost much

more than if it was fixed at and --------stage. ► eralier & lator ► after & before

► none of the above

► later and earlier (Page 17)

Question No: 10 ( Marks: 1 ) - Please choose one

Once these requirements have been finalized, the ---------------- process starts. ► Construction (Page 18) ► Development

► Maintenance phase

► Construction and Development

Question No: 11 ( Marks: 1 ) - Please choose one Identifying Whole-Part structures (Aggregations) means what are my ----------------

► Components (Page 95)

► Structures

► Objecs

► Classes

Question No: 12 ( Marks: 1 ) - Please choose one

Data design actually begins during the creation of the analysis model, not the architectural model. ► True Click here for detail

► False

Question No: 13 ( Marks: 1 ) - Please choose one

System Architecture is important to consider because it helps in making ------------- ► Mutual communication.

► Early design decisions.

► Reusable abstraction of a system.

► All of the above (Page 118)

Question No: 14 ( Marks: 1 ) - Please choose one Software architecture is "the ---------- of the components of a program/system, their interrelationships, and principles and guidelines governing their design and evolution over time."

► combination

► collection

► structure (Page 117)

► unification

Question No: 15 ( Marks: 1 ) - Please choose one

Cohesion is about making sure each component does _____ thing and does it well.

► three

► two

► infinite

► one Click here for detail

Question No: 16 ( Marks: 1 ) - Please choose one Following are some statements associated with data flow diagrams. Identify the correct statement from among them.

► DFDs are used to model complex interfaces.

► DFDs are used to represent only functional processing, data stores and data movements between

functions. DFD over flow charts(Page 2)

► DFDs depict only processes which can be decomposed.

► DFDs do not show external data sources and external data sinks

MIDTERM EXAMINATION

2010

Question No: 1 ( Marks: 1 ) - Please choose one

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)

Question No: 2 ( Marks: 1 ) - Please choose one 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

Question No: 3 ( Marks: 1 ) - Please choose one 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

Question No: 4 ( Marks: 1 ) - Please choose one

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 (Page 85)

Question No: 5( Marks: 1 ) - Please choose one A public Interface provides a way for with other Classes.

► Communication

► Accessibility Click here for detail

► Reaching

► All of the above

Question No: 6 ( Marks: 1 ) - Please choose one DFD Notation contains

► Data Store

► Extenal Agents

► Processes

► All of the given (Page 51)

Question No: 7 ( Marks: 1 ) - Please choose one

A complex System evolves from a ► smaller system (Page 69) ► medium sysetem

► bigger system

► non of the given

Question No: 8 ( Marks: 1 ) - Please choose one

Requirement engineering mainly deals with the -------------- of the system ► definition phase (Page 16)

► development phase

► maintenance

► non of the above

Question No: 9 ( Marks: 1 ) - Please choose one

Insufficient user involvement leads to ------------- products. ► unacceptable (Page 19)

► ambigious

► dissatisfaction of customer to

► non of the above

Question No: 10 ( Marks: 1 ) - Please choose one

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 (Page 106)

Question No: 11 ( Marks: 1 ) - Please choose one

Collaboration diagrams have basically two types of components: objects and ---------- ► messages (Page 111)

► methods

► classes

► non of the above

Question No: 12 ( Marks: 1 ) - Please choose one The scope description establishes the ----------between the system we are developing and everything else in the universe

► Boundary (Page 31)

► Balance

► Constraint

► None of the given

Question No: 13 ( Marks: 1 ) - Please choose one

Which one is not a type of messages which Sequence Diagrams Depict ► Synchronous

► Asynchronous

► Create

► Update (Page 108)

Question No: 14 ( Marks: 1 ) - Please choose one What is the most crucial non-functional requirement of a system to control radiation dosages that are emitted as treatment for cancer?

► Security

► Reliability

► Usability

► Accuracy (not sure)

Question No: 15 ( Marks: 1 ) - Please choose one Given below are some statements associated with data flow diagrams. Identify the correct statement from among them.

► Data flow is made use of to model what systems do.

► Flows of data can take place from a process to a sink.

► All processes have to be levelled or decomposed.

► Context diagram shows the major system processes. (Page 54)

Question No: 16 ( Marks: 1 ) - Please choose one What would be the most suitable architecture to develop a commercial web page to do business transactions over the internet?

► Client server model (p129)

► Island model

► RAD model

► Repository model

MIDTERM EXAMINATION 2010

Question No: 1 ( Marks: 1 ) - Please choose one

The first step in any OOA process model is to____________________ ► build an object-relationship model (p90) ► define collaborations between objects

► elicit customer requirements

► select a representation language

Question No: 2 ( Marks: 1 ) - Please choose one

Dynamic components of an OOA model are ____________________ ► not reusable

► sensitive to timing and event processing

► stable throughout the operational life of an application

► structural in nature Dynamic components: Focus on control and are sensitive to timing and event processing. Dynamic view of Communication, Dynamic view of Control and Time.

Question No: 3 ( Marks: 1 ) - Please choose one Events occur whenever a(n)_________________

► actor and the OO system exchange information

► class operation is invoked

► messages are passed between objects

► all of the given

A P R A C T I T I O N E R ’ S A P P R O A C H (Page 622)

Question No: 4 ( Marks: 1 ) - Please choose one

By following modern system engineering practices simulation of reactive systems is no longer necessary ► True ► False Click here for detail

Question No: 5 ( Marks: 1 ) - Please choose one

Information flow represents the manner in which data and control ► are related to one another. ► changeas each moves through the system.

► will be implemented in the final design.

► none of the given

A P R A C T I T I O N E R ’ S A P P R O A C H (Page 312)

Question No: 6 ( Marks: 1 ) - Please choose one

Which view should be consider first during software requirements analysis? ► actor view

► data view

► essential view ► implementation view A P R A C T I T I O N E R ’ S A P P R O A C H (Page 316)

Question No: 7 ( Marks: 1 ) - Please choose one State Transition Diagram is helpful in determining

► Business Understanding (Page 52) ► Process Flow

► Data store

► Non of the given

Question No: 8 ( Marks: 1 ) - Please choose one

A better Design has an objective achieve ► High Cohesion

► Low Cohesion

► Low Coupling ► High cohesion and Low coupling A P R A C T I T I O N E R ’ S A P P R O A C H (Page 316

Question No: 9 ( Marks: 1 ) - Please choose one The process of defining attributes is called

► What I know (Page 95) ► Who know me

► Whom I know

► Non of the above

Question No: 10 ( Marks: 1 ) - Please choose one

Which of the following is not an objective for building an analysis model? ► define set of software requirements ► describe customer requirements

► develop an abbreviated solution for the problem A P R A C T I T I O N E R ’ S A P P R O A C H (Page 329)

► establish basis for software design

Question No: 11 ( Marks: 1 ) - Please choose one

The output of this design process is a description of the ► Software Architecture (Page 115) ► Software Code

► Software

► Non of the above

Question No: 12 ( Marks: 1 ) - Please choose one

Which of these characteristics are true of a data warehouse, but not a typical database? ► business level orientation and large size ► currency and correctness of information Click here for detail

► integration and non volatility

► all of the given

Question No: 13 ( Marks: 1 ) - Please choose one

Identifying System Features include ------

► log important information

► conduct business

► analyze business results

► all of the above (Page 98)

Question No: 14 ( Marks: 1 ) - Please choose one The two main documents produced during this phase are Requirement Statement and Requirement pecification. They are also called Requirement Definition and ---------------

► Functional Specification (Page 25) ► Mathematical specification

► System Specification

► None of the given

Question No: 15 ( Marks: 1 ) - Please choose one

Project ------------- defines the concept and range of the proposed solution, and limitations identify certain

capabilities that the product will not include

► Scope (Page 30) ► Agreement ► Plan

► None of the given

Question No: 16 ( Marks: 1 ) - Please choose one Windows mobile is a popular mobile operating system which seen commonly on PDAs. Which of the following category pair(s) best describe(s) it?

► application software, embedded software (not sure) ► system software, web-based software

► application software, scientific software

► system software, embedded software

MIDTERM EXAMINATION 2010

Question No: 1 ( Marks: 1 ) - Please choose one 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.

Question No: 2( Marks: 1 ) - Please choose one The Data dictionary contain description of each software. ► Configuration item. ► Data object ► Diagram ► Notation

A P R A C T I T I O N E R ’ S A P P R O A C H (Page 356)

Question No: 3( Marks: 1 ) - Please choose one A cohesion class is one which emphasize -------unit of----. ► Single and multiple. ► Multiple and functionality ► Functional and single ► Single and functional (Page 72)

Question No: 4( Marks: 1 ) - Please choose one Flow charts represent. ► Sequence. (Page 50) ► Random ► Parallel ► Non of above

Question No: 5( Marks: 1 ) - Please choose one ----- gives OO the ability to handle essential ► Decentralization (Page 80 ) ► Centralization ► Decentralization and Centralization

► Non of above

Question No: 6( Marks: 1 ) - Please choose one In sequence Diagram events are organized in a-----time line ► vertical (Page 106) ► horizontal ► Vertical and Horizontal ► Non of above Question No: 7( Marks: 1 ) - Please choose one Asynchronous massages are denoted ► Half Arrow (Page 109) ► Simple Line ► Full Arrow ► Non of above

Question No: 8( Marks: 1 ) - Please choose one Software crisis came in 1960 what is the main reason to for the crisis ► Software development technique (Page 4)

► Hardware

► Software ► Non of above

Question No: 10 ( Marks: 1 ) - Please choose one central role of the software requirement Document in entire development process is related to ► Project planning ► Project tracing ► Change control ► All of above (Page 19) Question No: 11 ( Marks: 1 ) - Please choose one The scope description establishes the ---------- between the system we are developing and everything else in the universe. Project planning ► Boundary (Page 31) ► System ► limitation ► None of above

Question No: 12 ( Marks: 1 ) - Please choose one which one is not the type of massage which sequence diagram depict ► Synchronous ► asynchronous ► Create ► Update (Page 108)

Question No: 13 ( Marks: 1 ) - Please choose one cohesion is about making sure each component does---------- thing and does it well ► Three ► infinite ► one A P R A C T I T I O N E R ’ S A P P R O A C H (Page 381)

► two

Question No: 14 ( Marks: 1 ) - Please choose one what is the most important software quality of a web based transaction ► efficiency ► Modularity ► usability click here for detail

► Security

CS504 today quiz attempt and solved Quiz Start Time: 06:38 PM Time Left 89 sec(s) Question # 1 of 10 ( Start time: 06:38:06 PM ) Total Marks: 1 -----provides a unified interface to a set of interfaces in a sub-system. Select correct option: Observer Pattern

Singleton Pattern Façade Pattern

All of the above [1/12/2011 6:26:06 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 89 sec(s) Question # 2 of 10 ( Start time: 06:38:40 PM ) Total Marks: 1 "is" prefix should be used for------ variables and methods. Select correct option: General Boolean

Constant None of the given

[1/12/2011 6:26:37 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 89 sec(s) Question # 3 of 10 ( Start time: 06:39:11 PM ) Total Marks: 1 Façade Pattern provides a unified interface to a set of interfaces in a sub-system. Select correct option: True

False [Make the code easy to modify

Does not effect understandablity

Quiz Start Time: 06:38 PM

Time Left 54

sec(s) Question # 4 of 10 ( Start time: 06:39:27 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 [1/12/2011 6:28:15 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 89 sec(s) Question # 5 of 10 ( Start time: 06:40:47 PM ) Total Marks: 1 The terms get/set must be used where an attribute is accessed Select correct option: Indirectly Directly

[1/12/2011 6:28:30 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 89 sec(s) Question # 6 of 10 ( Start time: 06:41:03 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 fantasy.fear: Quiz Start Time: 06:38 PM Time Left 88 sec(s) Question # 7 of 10 ( Start time: 06:41:50 PM ) Total Marks: 1 which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2

Select correct option:

► and (3) only ► and (3) only ► and (2) only All procduce the same result [1/12/2011 6:29:57 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 88 sec(s) Question # 8 of 10 ( Start time: 06:42:29 PM ) Total Marks: 1 Identifier names also play a significant role in enhancing the -------- of a program. Select correct option: Writ ability Readability

Reliability All of the given choices

[1/12/2011 6:30:23 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 88 sec(s) Question # 9 of 10 ( Start time: 06:42:56 PM ) Total Marks: 1 1) x = (a + 2 > 3)? a : a-1 ; 2) if((a + 2)> 3) x = a; else x = a - 1; Select correct option: Statement (1) is more complex than (2) Statement (2) is more complex than (1) Both statements are very complex None of the given options

[1/12/2011 6:31:02 PM] fantasy.fear: Quiz Start Time: 06:38 PM Time Left 89 sec(s) Question # 10 of 10 ( Start time: 06:43:36 PM ) Total Marks: 1 using proper paranthesis normally makes the code Select correct option: easy to read easy to understand

less ambigous

All of the given options

[1/12/2011 6:33:00 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 89 sec(s) Question # 1 of 10 ( Start time: 06:45:33 PM ) Total Marks: 1 Comments are not syntax checked Select correct option: TRUE

FALSE [1/12/2011 6:33:30 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 89 sec(s) Question # 2 of 10 ( Start time: 06:46:03 PM ) Total Marks: 1 _________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller pattern Select correct option: Smalltalk PASCAL JAVA C++ [1/12/2011 6:34:23 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 88 sec(s) Question # 4 of 10 ( Start time: 06:46:57 PM ) Total Marks: 1 Flexibility helps in making the code easier to understand. Select correct option: True

false [1/12/2011 6:35:42 PM] fantasy.fear: Half page [1/12/2011 6:35:53 PM] fantasy.fear: Quiz Start Time: 06:45 PM

Time Left 75

sec(s) Question # 5 of 10 ( Start time: 06:48:12 PM ) Total Marks: 1 A function should not be larger in any case and should not exceed ______ in length . Select correct option: Half page One page Two pages

Three Pages

[1/12/2011 6:36:04 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 87 sec(s) Question # 6 of 10 ( Start time: 06:48:36 PM ) Total Marks: 1 It ensures that a class only has one instance and provides a global point of access to it. Select correct option: Singleton Pattern Observer Pattern

Real Pattern

None of the given

[1/12/2011 6:36:33 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 88 sec(s) Question # 7 of 10 ( Start time: 06:49:06 PM ) Total Marks: 1 A self documented program/code contains the following attribute(s): Select correct option: Size of each function

Choice of variable

Choice of variable

All of the given choices [1/12/2011 6:37:40 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 88 sec(s) Question # 8 of 10 ( Start time: 06:50:14 PM ) Total Marks: 1 Names representing methods and functions should be----and written in mixed case starting with -----case.

Select correct option: Noun—lower Verb----lower Noun ---upper Noun----upper [1/12/2011 6:37:58 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 85 sec(s) Question # 9 of 10 ( Start time: 06:50:29 PM ) Total Marks: 1 Façade Pattern provides a unified interface to a set of interfaces in a sub-system. Select correct option: True

False [1/12/2011 6:38:10 PM] fantasy.fear: Quiz Start Time: 06:45 PM Time Left 87 sec(s) Question # 10 of 10 ( Start time: 06:50:43 PM ) Total Marks: 1 Name is the initial thing to be written in the GOF Design Pattern Format. Select correct option: True

False [1/12/2011 6:38:55 PM] fantasy.fear: Quiz Start Time: 06:51 PM Time Left 86 sec(s) Question # 1 of 10 ( Start time: 06:51:27 PM ) Total Marks: 1 Comments should NOT be indented relative to their position in the code Select correct option: TRUE

FALSE [1/12/2011 6:39:53 PM] fantasy.fear: Quiz Start Time: 06:51

PM

Time Left 88 sec(s) Question # 2 of 10 ( Start time: 06:52:26 PM ) Total Marks: 1 Which of the following shows a commented statement in C++ Select correct option: # Ans = first + second // Ans = first + second \\ Ans = first + second /# Ans = first + second [1/12/2011 6:41:07 PM] fantasy.fear: Quiz Start Time: 06:51 PM Time Left 87 sec(s) Question # 3 of 10 ( Start time: 06:53:39 PM ) Total Marks: 1 Floating point constants should always be written with decimal point and at least Select correct option: one decimal two decimal three decimal none of the given [1/12/2011 6:41:31 PM] fantasy.fear: Quiz Start Time: 06:51 PM Time Left 87 sec(s) Question # 4 of 10 ( Start time: 06:54:04 PM ) Total Marks: 1 MVC stands for --------------- Select correct option: Model View Controller Modern View Center Model View Center Modern View Controller [1/12/2011 6:42:00 PM] fantasy.fear: Quiz Start Time: 06:51 PM Time Left 87 sec(s)

Question # 7 of 10 ( Start time: 06:54:32 PM ) Total Marks: 1 if (!(block < activeBlock)) is equvivalent to:

Select correct option: if ((block < activeBlock)) if ((block == activeBlock)) if ((block >= activeBlock)) None of the given

[1/12/2011 6:43:48 PM] no idea about this question Quiz Start Time: 06:56 PM Time Left 87 sec(s) Question # 1 of 10 ( Start time: 06:56:21 PM ) Total Marks: 1 -----provides a unified interface to a set of interfaces in a sub-system. Select correct option: Observer Pattern

Singleton Pattern Façade Pattern

All of the above [1/12/2011 6:44:32 PM] fantasy.fear: Quiz Start Time: 06:56 PM Time Left 88 sec(s) Question # 3 of 10 ( Start time: 06:57:05 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 [1/12/2011 6:44:42 PM] fantasy.fear: Quiz Start Time: 06:56 PM Time Left 87 sec(s) Question # 4 of 10 ( Start time: 06:57:14 PM ) Total Marks: 1 Façade Pattern provides a unified interface to a set of interfaces in a sub-system. Select correct option: True

False

[1/12/2011 6:44:52 PM] fantasy.fear: Quiz Start Time: 06:56 PM Time Left 88 sec(s) Question # 5 of 10 ( Start time: 06:57:25 PM ) Total Marks: 1 which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2 Select correct option: ► and (3) only ► and (3) only ► and (2) only All procduce the same result [1/12/2011 6:45:04 PM] fantasy.fear: Quiz Start Time: 06:56 PM Time Left 88 sec(s) Question # 6 of 10 ( Start time: 06:57:38 PM ) Total Marks: 1 Unrelated variables should be declared in the same statement. Select correct option: True

False [1/12/2011 6:45:45 PM] fantasy.fear: Quiz Start Time: 06:56 PM Time Left 88 sec(s) Question # 8 of 10 ( Start time: 06:58:16 PM ) Total Marks: 1 Which of the following shows a commented statement in C++ Select correct option: # Ans = first + second // Ans = first + second \\ Ans = first + second /# Ans = first + second [1/12/2011 6:45:54 PM] fantasy.fear:

Quiz Start Time: 06:56 PM

Time Left 88 sec(s) Question # 9 of 10 ( Start time: 06:58:28 PM ) Total Marks: 1 Name is the initial thing to be written in the GOF Design Pattern Format. Select correct option: True

False [1/12/2011 6:46:06 PM] fantasy.fear: Quiz Start Time: 06:56 PM Time Left 76 sec(s) Question # 9 of 10 ( Start time: 06:58:28 PM ) Total Marks: 1 Name is the initial thing to be written in the GOF Design Pattern Format. Select correct option: True

False [1/12/2011 6:47:29 PM] fantasy.fear: MC090406765 : Rani Shamaila Gul Quiz Start Time: 06:59 PM Time Left 52 sec(s) Question # 1 of 10 ( Start time: 06:59:25 PM ) Total Marks: 1 Class variables should never be declared public. Public variables violate which of the following: Select correct option:

Information hiding

Encapsulation

Information hiding and Encapsulation None of the given

[1/12/2011 6:47:57 PM] fantasy.fear: MC090406765 : Rani Shamaila Gul Quiz Start Time: 06:59 PM Time Left 85 sec(s) Question # 5 of 10 ( Start time: 07:00:28 PM ) Total Marks: 1 The nominal case should be put in the if-part and the exception in the else-part of an if statement. Select correct option: TURE

FALSE

[1/12/2011 6:48:37 PM] fantasy.fear: MC090406765 : Rani Shamaila Gul Quiz Start Time: 06:59 PM Time Left 88 sec(s) Question # 9 of 10 ( Start time: 07:01:09 PM ) Total Marks: 1 The three basic principles that guide maintainability are: (a)clarity (b)enhancement (c)flexibility (d)simplicity ( Select correct option: (a),(b) and (c) (a),(c) and (d) (b),(c) and (d) All of above

Client Server model tries to data and processing Distribute Merge Clone Proceed Anti- Patterns is another concept that corresponds to common in analysis and design. Mistake Issues Problems All of the given Three tier architecture contains layers Presentation Application Database All of the above MVC stands for Model View Controller Modern View Center Model View Center Modern View Controller Fat client model is one of the configurations of model Data-Centered Layered

Reference Client Server Description of communicating objects and classes that are customized to solved a general problem in a particular context is called Design Pattern System Patter System Design None of the Given In the N-tire Architecture, the idea is to enhance scalability and by distributing both data and the application using multiple server machines. Usability Performance Interpretability None of the given Thin Client model is one of the configurations of ….. model Data Centered Client Server Layered Reference Dynamic process model shows the process ………….. of the system Components Objects Structure Linkage It ensures that a class only has one instance and provides a global point of access to it. Singleton Pattern Observer Pattern Real Pattern None of the given Question # 1 of 10 ( Start time: 06:15:15 PM ) Total Marks: 1 STL Stnads for ------------------ Standard Template Library Standard Type Link Standard Tempo Line None of the given

Question # 2 of 10 ( Start time: 06:16:10 PM ) Total Marks: 1 Three tier architecture contains ------------- layers Select correct option: Presentation Application Database All of the above Question # 3 of 10 ( Start time: 06:17:05 PM ) Total Marks: 1 Which of following is/are among ten things,which the basic template of GOF design pattern includes. Select correct option: Problem Context Forces All of the given Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1 Vertical partitioning is also known as….. Select correct option: Balancing Mutating Parallelizing Factoring Question # 4 of 10 ( Start time: 06:18:40 PM ) Total Marks: 1 Vertical partitioning is also known as….. Select correct option: Balancing Mutating Parallelizing Factoring Question # 5 of 10 ( Start time: 06:20:06 PM ) Total Marks: 1 Patterns are devices that allow programs to share knowledge about their -------------. Select correct option: Code Design

Analysis None of the given Question # 6 of 10 ( Start time: 06:22:07 PM ) Total Marks: 1 Client server model tries to …….data and processing. Select correct option: Distribute Merge Clone Proceed Question # 7 of 10 ( Start time: 06:23:24 PM ) Total Marks: 1 N-tier architecture stems from the struggle to find a ----------- between the fat-client architecture and the thin-client architecture. Select correct option: Concurrency Distribution point Middle ground Similarity Question # 8 of 10 ( Start time: 06:24:20 PM ) Total Marks: 1 Vertical partitioning divides the architecture application from a …… making perspective. Decision Design Conclusion Move Question # 9 of 10 ( Start time: 06:25:23 PM ) Total Marks: 1 Distributing the responsibilities to different subsystems so that we get a software system which is easy to maintain, is called ………the architecture. Select correct option: Subtracting Partitioning Cloning Balancing Question # 1 of 10 ( Start time: 01:35:10 PM ) Total Marks: 1 The nominal case should be put in the if-part and the exception in the else-part of an if statement. Select correct option:

TURE FALSE sec(s) Question # 2 of 10 ( Start time: 01:35:59 PM ) Total Marks: 1 Charles Simonyi first discussed Hungarian Notation. He was of ------ . Select correct option: Microsoft IBM Dell Cisco sec(s) Question # 3 of 10 ( Start time: 01:36:25 PM ) Total Marks: 1 The terms get/set must be used where an attribute is accessed Select correct option: Indirectly Directly sec(s) Question # 4 of 10 ( Start time: 01:36:37 PM ) Total Marks: 1 A self documented program/code contains the following attribute(s): Size of each function Choice of variable Choice of variable All of the given choices sec(s) Question # 5 of 10 ( Start time: 01:37:42 PM ) Total Marks: 1 "is" prefix should be used for------ variables and methods. Select correct option: General Boolean Constant None of the given sec(s) Question # 6 of 10 ( Start time: 01:38:16 PM ) Total Marks: 1 The use of comments should be minimized by making the code self-documenting by appropriate name choices and an explicit logical structure. Select correct option: TRUE FALSE sec(s) Question # 7 of 10 ( Start time: 01:38:44 PM ) Total Marks: 1 Variables should be initialized where they are ------and they should be declared in the ------scope possible. Select correct option:

defined and smallest declared and medium defined and medium declared and smallest sec(s) Question # 8 of 10 ( Start time: 01:39:56 PM ) Total Marks: 1 Unrelated variables should be declared in the same statement. Select correct option: True False sec(s) Question # 9 of 10 ( Start time: 01:40:22 PM ) Total Marks: 1 which of the following statements are same in output: 1) a = a >> 2 2) a = a / 4 3) a = a * 2 Select correct option: (1) and (3) only (2) and (3) only (1) and (2) only All procduce the same result sec(s) Question # 10 of 10 ( Start time: 01:41:38 PM ) Total Marks: 1 Goto statements violate the idea of Select correct option: object oriented code structured code control structure repetition structure sec(s) Question # 2 of 10 ( Start time: 01:44:29 PM ) Total Marks: 1 MVC pattern was based on the --------------- pattern. Select correct option: Observer Structural Behavioral None of given sec(s) Question # 3 of 10 ( Start time: 01:44:56 PM ) Total Marks: 1 Which one is correct? Select correct option: double total = 0.5; double total = .5; double total = .50; all of the given sec(s)

Question # 4 of 10 ( Start time: 01:46:09 PM ) Total Marks: 1 Code should not be: Select correct option: commented indented cryptic aligned sec(s) Question # 5 of 10 ( Start time: 01:46:41 PM ) Total Marks: 1 Global variables in C++ should always be referred to by using the Select correct option: :: operator : operator Without an operator None of the given sec(s) Question # 6 of 10 ( Start time: 01:47:17 PM ) Total Marks: 1 _________ was the first pure Object Oriented language in which observer pattern was used in implementing its Model View Controller pattern Select correct option: Smalltalk PASCAL JAVA C++ sec(s) Question # 7 of 10 ( Start time: 01:47:56 PM ) Total Marks: 1 using proper paranthesis normally makes the code Select correct option: easy to read easy to understand less ambigous All of the given options sec(s) Question # 9 of 10 ( Start time: 01:48:58 PM ) Total Marks: 1 Which of the following shows a commented statement in C++ Select correct option: # Ans = first + second // Ans = first + second \\ Ans = first + second /# Ans = first + second sec(s) Question # 1 of 10 ( Start time: 01:51:42 PM ) Total Marks: 1 The form for (;;) should be used for

Select correct option: nested loop empty loop more than 1000 iterations sec(s) sec(s) Question # 2 of 10 ( Start time: 01:52:09 PM ) Total Marks: 1 Identifier names also play a significant role in enhancing the -------- of a program. Select correct option: Writ ability Readability Reliability sec(s) Question # 3 of 10 ( Start time: 01:53:08 PM ) Total Marks: 1 It ensures that a class only has one instance and provides a global point of access to it. Select correct option: Singleton Pattern Observer Pattern Real Pattern None of the given sec(s) Question # 4 of 10 ( Start time: 01:53:49 PM ) Total Marks: 1 Names representing methods and functions should be----and written in mixed case starting with -----case. Select correct option: Noun—lower Verb----lower Noun ---upper Noun----upper sec(s) Question # 5 of 10 ( Start time: 01:54:45 PM ) Total Marks: 1 A function should not be larger in any case and should not exceed ______ in length . Select correct option: Half page One page Two pages Three Pages sec(s) Question # 7 of 10 ( Start time: 01:55:56 PM ) Total Marks: 1

-----provides a unified interface to a set of interfaces in a sub-system. Select correct option: Observer Pattern Singleton Pattern Façade Pattern All of the above sec(s) Question # 8 of 10 ( Start time: 01:56:35 PM ) Total Marks: 1 MVC stands for --------------- Select correct option: Model View Controller Modern View Center Model View Center Modern View Controller sec(s) Question # 8 of 10 ( Start time: 01:59:40 PM ) Total Marks: 1 A self documenting code is a code that explains itself without the need of comments and extraneous documentation, like _______ Select correct option: Flowcharts UML diagrams Process-flow state diagrams All of the given choices sec(s) Question # 10 of 10 ( Start time: 02:00:38 PM ) Total Marks: 1 Complex expressions: Select correct option: Make the code easy to modify Make the code difficult to modify Make the code easy to understand Does not effect understandablity Question # 10 of 10 ( Start time: 01:49:27 PM ) Total Marks: 1 Comments should NOT be indented relative to their position in the code Select correct option: TRUE FALSE ----Provides a unified interface to a set of interfaces in a sub-system Observer Pattern Singleton Pattern Façade Pattern

All of the above In Client Server model, there application is modeled as a set so --- that are provided by server Application Protocol Services All of the above Vertical Partitioning is also know as Balancing Mutating Parallizing Factoring 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 No: 1 ( Marks: 1 ) - Please choose one

By following modern system engineering practices simulation of reactive systems

is no longer necessary ► True

► False

Question No: 2 ( Marks: 1 ) - Please choose one

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

Question No: 3 ( Marks: 1 ) - Please choose one

Control flow diagrams are

► needed to model event driven systems.

► required for all systems

► used in place of data flow diagrams

► useful for modeling user interfaces

Question No: 4 ( Marks: 1 ) - Please choose one

A change becomes ------------- because of close presence of data and functions

► Localized

► Private

► Global

► Accessible

Question No: 5 ( Marks: 1 ) - Please choose one

A complex System evolves from a

► smaller system

► medium sysetem

► bigger system

► non of the given

Question No: 6 ( Marks: 1 ) - Please choose one

Coupling is a measure of ----------------of a module or component.

► Independent

► Dependent

► Closeness

► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one Software Maintenance phase involves

► Debugging

► Adding new features

► making changes

► all of the given

Question No: 8 ( Marks: 1 ) - Please choose one

The hardest single part of building a software system is deciding precisely ----------- to

build.

► what

► How

► When

► Why

Question No: 9 ( Marks: 1 ) - Please choose one

Interaction Diagrams depict the ------------- Behavior of the system

► Static

► Dynamic

► Active

► Non of the above

Question No: 10 ( Marks: 1 ) - Please choose one

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

Question No: 11 ( Marks: 1 ) - Please choose one A poorly designed interface can cause a user to make catastrophic errors is one of the

motivations for GUI.

► True

► False

Question No: 12 ( Marks: 1 ) - Please choose one

Identifying x include ------

► log important information

► conduct business

► analyze business results

► all of the above

Question No: 13 ( Marks: 1 ) - Please choose one

Establishing responsibilities for objects includes

► Generalization Relationships

► Specialization Relationships

► all of the above

► identifying Association relationships

Question No: 14 ( Marks: 1 ) - Please choose one

Which of the following is a fact finding method?

► Site visits

► Prototyping

► Study of similar systems

► All of given

Question No: 15 ( Marks: 1 ) - Please choose one

Windows mobile is a popular mobile operating system which seen commonly on PDAs.

Which of the following category pair(s) best describe(s) it?

► application software, embedded software

► system software, web-based software

► application software, scientific software

► system software, embedded software

Question No: 16 ( Marks: 1 ) - Please choose one

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.

Question No: 1 ( Marks: 1 ) - Please choose one

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

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

► Methods

Question No: 3 ( Marks: 1 ) - Please choose one

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

Question No: 4 ( Marks: 1 ) - Please choose one

An state transition can only occur when triggered by a(n)________________

► actor

► collaboration attempt

► event

► none of the given

Question No: 5 ( Marks: 1 ) - Please choose one

A change becomes ------------- because of close presence of data and fucntions

► Localized

► Private

► Global

► Accessible

Question No: 6 ( Marks: 1 ) - Please choose one

A process which does not take input is called

► miracle process

► core porcess

► secondary process

► all of the above

Question No: 7 ( Marks: 1 ) - Please choose one

Data Store notation in DFDs presents.

► Data input

► Data output

► Data input and Data output

► non of the given

Question No: 8 ( Marks: 1 ) - Please choose one

Coupling is a measure of ----------------of a module or component.

► Independent

► Dependent

► Closeness

► All of the given

Question No: 9 ( Marks: 1 ) - Please choose one

If a problem is identified and fixed at a -------stage in the software development process, it

will cost much more than if it was fixed at and --------stage.

► eralier & lator

► after & before

► none of the above

► lator and earlier

Question No: 10 ( Marks: 1 ) - Please choose one

Once these requirements have been finalized, the ---------------- process starts.

► Construction

► Development

► Mentainance phase

► Construction and Development

Question No: 11 ( Marks: 1 ) - Please choose one

Identifying Whole-Part structures (Aggregations) means what are my ----------------

► Components

► Structures

► Objecs

► Classes

Question No: 12 ( Marks: 1 ) - Please choose one

Data design actually begins during the creation of the analysis model, not the architectural

model.

► True

► False

Question No: 13 ( Marks: 1 ) - Please choose one

System Architecture is important to consider becasue it helps in making -------------

► Mutual communication.

► Early design decisions.

► Reusable abstraction of a system.

► All of the above

Question No: 14 ( Marks: 1 ) - Please choose one

Software architecture is "the ---------- of the components of a program/system,

their interrelationships, and principles and guidelines governing their design and

evolution over time."

► combination

► collection

► structure

► unification

Question No: 15 ( Marks: 1 ) - Please choose one

Cohesion is about making sure each component does _____ thing and does it well.

► three

► two

► infinite

► one

Question No: 16 ( Marks: 1 ) - Please choose one

Following are some statements associated with data flow diagrams. Identify the correct

statement from among them.

► DFDs are used to model complex interfaces.

► DFDs are used to represent only functional processing, data stores and data

movements between functions.

► DFDs depict only processes which can be decomposed.

► DFDs do not show external data sources and external data sinks.

Question No: 1 ( Marks: 1 ) - Please choose

one

Control flow diagrams are.

Needed to model event driven systems.

Required for all systems.

Used in place of data flow diagrams.

Useful for modeling user interfaces.

Question No: 2( Marks: 1 ) - Please choose

one

The Data dictionary contain description of each software.

Configuration item.

Data object

Diagram

Notation

Question No: 3( Marks: 1 ) - Please choose one

a cohesion class is one which emphasize -------unit of----.

Single and multiple.

Multiple and functionality

Functional and single

Single and functional

Question No: 4( Marks: 1 ) - Please choose one

Flow charts represent.

Sequence.

Random

Parallel

Non of above

Question No: 5( Marks: 1 ) - Please choose one

----- gives OO the ability to handle essential

Decentralization

Centralization

Decentralization and Centralization

Non of above

Question No: 6( Marks: 1 ) - Please choose one

In sequence Diagram events are organized in a-----time line

vertical

horizontal

Vertical and Horizontal

Non of above

Question No: 7( Marks: 1 ) - Please choose one

Asynchronous massages are denoted

Half Arrow

Simple Line

Full Arrow

Non of above

Question No: 8( Marks: 1 ) - Please choose one

Software crisis came in 1960 what is the main reason to for the crisis

Software development technique

Hardware

Software

Non of above

Question No: 10 ( Marks: 1 ) - Please choose one

central role of the software requirement Document in entire development process is related

to

Project planning

Project tracing

Change control

All of above Question No: 11 ( Marks: 1 ) - Please choose one The scope description establishes the ---------- between the system we are developing and everything else in the universe. Project planning Boundary

System

limitation

None of above

Question No: 12 ( Marks: 1 ) - Please choose one

which one is not the type of massage which sequence diagram depict

Synchronous

asynchronous

Create (may be this )

Update

Question No: 13 ( Marks: 1 ) - Please choose one

cohesion is about making sure each component does---------- thing and does it well

Three

infinite

one

two

Question No: 14 ( Marks: 1 ) - Please choose one

Non function requirement can divided

-----------

------------

---------------------

---------

Question No: 15 ( Marks: 1 ) - Please choose one

what is the most important software quality of a web based transaction

efficiency

Modularity

usability (may be this )

Security

Question No: 16 ( Marks: 1 ) - Please choose one

which one of the following is good design principle of software

Coupling

Structured programming (may be)

------------------------

---------------------

In ______The objects are organized in a horizontal line and the events in a vertical

time line.

Sequence diagram

Question No: 4 ( Marks: 1 ) - Please choose one

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

Question No: 5 ( Marks: 1 ) - Please choose one

A public Interface provides a way for with other Classes.

► Comminication

► Accessibility

► Reaching

► All of the above

Question No: 6 ( Marks: 1 ) - Please choose one

DFD Notation contains

► Data Store

► Extenal Agents

► Processes

► All of the given chap4 page 10

Question No: 7 ( Marks: 1 ) - Please choose one

A complex System evolves from a

► smaller system

► medium sysetem

► bigger system

► non of the given chapter 6 p2 (simple system)

Question No: 8 ( Marks: 1 ) - Please choose one

Requirement engineering mainly deals with the -------------- of the system

► definition phase chapter 3 p 2

► development phase

► maintenance

► non of the above

No: 9 ( Marks: 1 ) - Please choose one

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

► 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

Question No: 11 ( Marks: 1 ) - Please choose

Collaboration diagrams have basically two types of components: objects and ----------

► messages chapter 7 p27

► methods

► classes

► non of the above

Question No: 12 ( Marks: 1 ) - Please choose

The scope description establishes the ----------between the system we are developing

and everything else in the universe

► Boundary chapter 3rd

p15

► Balance

► Constraint

► None of the given

Question No: 13 ( Marks: 1 ) -

Which one is not a type of messages which Sequence Diagrams Depict

► Synchronous

► Asynchronous

► Create

► Update chapter 7 p 25

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

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

► Methods

Question No: 3 ( Marks: 1 ) - Please choose one 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

Question No: 4 ( Marks: 1 ) - Please choose one

An state transition can only occur when triggered by a(n)________________

► actor

► collaboration attempt

► event

► none of the given

Question No: 5 ( Marks: 1 ) - Please choose one

A change becomes ------------- because of close presence of data and fucntions

► Localized

► Private

► Global

► Accessible

Question No: 6 ( Marks: 1 ) - Please choose one A process which does not take input is called

► miracle process

► core porcess

► secondary process

► all of the above

Question No: 7 ( Marks: 1 ) - Please choose one

Data Store notation in DFDs presents.

► Data input

► Data output

► Data input and Data output

► non of the given

Question No: 8 ( Marks: 1 ) - Please choose one

Coupling is a measure of ----------------of a module or component. 94 chapter 6

► Independent

► Dependent

► Closeness

► All of the given

Question No: 9 ( Marks: 1 ) - Please choose one

If a problem is identified and fixed at a -------stage in the software development process,

it will cost much more than if it was fixed at and --------stage. Chapter 3 p 3

► eralier & lator

► after & before

► none of the above

► lator and earlier

Question No: 10 ( Marks: 1 ) - Please choose one Once these requirements have been finalized, the ---------------- process starts.

► Construction Chapter 3 p 4

► Development

► Mentainance phase

► Construction and Development

Question No: 11 ( Marks: 1 ) - Please choose one

Identifying Whole-Part structures (Aggregations) means what are my ---------------- p12

chapter 7

► Components

► Structures

► Objecs

► Classes

Question No: 12 ( Marks: 1 ) - Please choose one

Data design actually begins during the creation of the analysis model, not the

architectural model.

► True

► False

Question No: 13 ( Marks: 1 ) - Please choose one System Architecture is important to consider becasue it helps in making -------------

chapter 8 page 5

► Mutual communication.

► Early design decisions.

► Reusable abstraction of a system.

► All of the above

Question No: 14 ( Marks: 1 ) - Please choose one

Software architecture is "the ---------- of the components of a program/system,their

interrelationships, and principles and guidelines governing their design and evolution

over time." P4 chapter 8

► combination

► collection

► structure

► unification

Question No: 15 ( Marks: 1 ) - Please choose one

Cohesion is about making sure each component does _____ thing and does it well.

► three

► two

► infinite

► one

Question No: 16 ( Marks: 1 ) - Please choose one

Following are some statements associated with data flow diagrams. Identify the correct

statement from among them.

► DFDs are used to model complex interfaces.

► DFDs are used to represent only functional processing, data stores and data

movements between functions.

► DFDs depict only processes which can be decomposed.

► DFDs do not show external data sources and external data sinks.

The process of defining attributes is called

► What I know chapter 7 p19 ► Who know me

► Whom I know

► Non of the above

The output of this design process is a description of the

► Software Architecture p2 chapter 8 ► Software Code

► Software

► Non of the above

Identifying System Features include ------

► log important information

► conduct business

► analyze business results

► all of the above p15 chapter 7

Question No: 14 ( Marks: 1 ) - Please choose one

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

Question No: 15 ( Marks: 1 ) - Please choose one 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

Question No: 4 ( Marks: 1 ) - Please choose one

A change becomes ------------- because of close presence of data and functions

► Localized

► Private

► Global

► Accessible

Question No: 5 ( Marks: 1 ) - Please choose one

A complex System evolves from a

► smaller system

► medium sysetem

► bigger system

► non of the given

Question No: 6 ( Marks: 1 ) - Please choose one

Coupling is a measure of ----------------of a module or component.

► Independent

► Dependent

► Closeness

► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one

Software Maintenance phase involves

► Debugging

► Adding new features

► making changes

► all of the given

Question No: 8 ( Marks: 1 ) - Please choose one

The hardest single part of building a software system is deciding precisely ----------- to

build.

► what

► How

► When

► Why

Question No: 9 ( Marks: 1 ) - Please choose one

Interaction Diagrams depict the ------------- Behavior of the system p23 chapter7

► Static

► Dynamic

► Active

► Non of the above

Question No: 10 ( Marks: 1 ) - Please choose one

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

Question No: 11 ( Marks: 1 ) - Please choose one

A poorly designed interface can cause a user to make catastrophic errors is one of the

motivations for GUI

► True

► False

Question No: 12 ( Marks: 1 ) - Please choose one

Identifying System Features include ------

► log important information

► conduct business

► analyze business results

► all of the above

Question No: 13 ( Marks: 1 ) - Please choose one

Establishing responsibilities for objects includes

► Generalization Relationships

► Specialization Relationships

► all of the above

► identifying Association relationships

Question No: 14 ( Marks: 1 ) - Please choose one

Which of the following is a fact finding method?

► Site visits

► Prototyping

► Study of similar systems

► All of given

Question No: 15 ( Marks: 1 ) - Please choose one

Windows mobile is a popular mobile operating system which seen commonly on PDAs.

Which of the

following category pair(s) best describe(s) it?

► application software, embedded software

► system software, web-based software ► application software, scientific software

► system software, embedded software

Question No: 16 ( Marks: 1 ) - Please choose one

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.

Question No: 1 ( Marks: 1 ) - Please choose one

By following modern system engineering practices simulation of reactive systems is no longer necessary ► True

► False

Question No: 2 ( Marks: 1 ) - Please choose one

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

Question No: 3 ( Marks: 1 ) - Please choose one

Control flow diagrams are

► needed to model event driven systems.

► required for all systems

► used in place of data flow diagrams

► useful for modeling user interfaces

Question No: 4 ( Marks: 1 ) - Please choose one

A change becomes ------------- because of close presence of data and functions

► Localized ► Private

► Global

► Accessible

Question No: 5 ( Marks: 1 ) - Please choose one

A complex System evolves from a

► smaller system ► medium sysetem

► bigger system

► non of the given

Question No: 6 ( Marks: 1 ) - Please choose one

Coupling is a measure of ----------------of a module or component.

► Independent ► Dependent

► Closeness

► All of the given

Question No: 7 ( Marks: 1 ) - Please choose one

Software Maintenance phase involves

► Debugging ► Adding new features

► making changes

► all of the given

Question No: 8 ( Marks: 1 ) - Please choose one

The hardest single part of building a software system is deciding precisely ----------- to

build.

► what ► How

► When

► Why

Question No: 9 ( Marks: 1 ) - Please choose one

Interaction Diagrams depict the ------------- Behavior of the system

► Static

► Dynamic ► Active

► Non of the above

Question No: 10 ( Marks: 1 ) - Please choose one

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

Question No: 11 ( Marks: 1 ) - Please choose one

A poorly designed interface can cause a user to make catastrophic errors is one of the

motivations for GUI.

► True ► False

Question No: 12 ( Marks: 1 ) - Please choose one

Identifying System Features include ------

► log important information

► conduct business

► analyze business results

► all of the above

Question No: 13 ( Marks: 1 ) - Please choose one

Establishing responsibilities for objects includes

► Generalization Relationships

► Specialization Relationships

► all of the above ► identifying Association relationships

Question No: 14 ( Marks: 1 ) - Please choose one

Which of the following is a fact finding method?

► Site visits

► Prototyping ► Study of similar systems

► All of given

Question No: 15 ( Marks: 1 ) - Please choose one

Windows mobile is a popular mobile operating system which seen commonly on PDAs.

Which of the following category pair(s) best describe(s) it?

► application software, embedded software ► system software, web-based software

► application software, scientific software

► system software, embedded software

Question No: 16 ( Marks: 1 ) - Please choose one

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.

Quantitative methods for assessing the quality of proposed architectural designs

are readily available.

► True

► False

Question No: 2 ( Marks: 1 ) - Please choose one A decision table should be used_______________________

► to document all conditional statements

► to guide the development of the project management plan

► only when building an expert system

► when a complex set of conditions and actions appears in a component

Question No: 3 ( Marks: 1 ) - Please choose one

Test cases should be designed long before testing begins.

► True

► False

Question No: 4 ( Marks: 1 ) - Please choose one

Which of the following are characteristics of testable software?

► observability

► simplicity

► stability

► all of the given

Question No: 5 ( Marks: 1 ) - Please choose one

Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release.

► True

► False

Question No: 6 ( Marks: 1 ) - Please choose one

By collecting software metrics and making use of existing software reliability models it is possible to develop meaningful guidelines for determining when software testing is done.

► True

► False

Question No: 7 ( Marks: 1 ) - Please choose one

Configuration reviews are not needed if regression testing has been rigorously applied during software

integration.

► True

► False

Question No: 8 ( Marks: 1 ) - Please choose one A change becomes ------------- because of close presence of data and fucntions

► Localized

► Private

► Global ► Accessible

Question No: 9 ( Marks: 1 ) - Please choose one Requirement engineering mainly deals with the -------------- of the system

► definition phase

► development phase

► maintenance

► non of the above

Question No: 10 ( Marks: 1 ) - Please choose one 40-60% of all defects found in software projects can be traced back to poor -----------

► Requirements

► Design

► Coding

► Testing

Question No: 11 ( Marks: 1 ) - Please choose one

In the N-Tire Architecture the idea is to enhance scalability and -------------- by

distributing both the data and the application using multiple server machines.

► Performance

► Efficiency

► Usability

► non of the all

Question No: 12 ( Marks: 1 ) - Please choose one MVC pattern was based on the --------------- pattern.

► Observer

► Structural ► Behavioral ► Non of them

Question No: 13 ( Marks: 1 ) - Please choose one Classes should be declared in individual header files with the file name matching the

---------- name.

► class

► method

► object ► non of the all Question No: 14 ( Marks: 1 ) - Please choose one Unit testing is roughly equivalent to ---------- testing for hardware in which each chip is

tested

thoroughly after manufacturing

► Circuit level ► Chip Level

► component level ► system level

Question No: 15 ( Marks: 1 ) - Please choose one Software should be tested more like hardware, with Built-in self testing: such that each

unit can be tested -------------

► freely

► independently

► dependtly

► completely

Question No: 16 ( Marks: 1 ) - Please choose one

A system ------------- is the period in which tremendous pressure is on developers end to

fix the problem and make the system running again

► Uptime

► Downtime

► Currentime

► futuretimr

Question No: 17 ( Marks: 1 ) - Please choose one Which one of the given below is not a symptom of memory overrun?

► Program crashes quite regularly after a given routine is called, that routine should be examined for a possible overrun condition.

► If the routine in question does not appear to have any such problem the most

likely cause is that another routine, called in the prior sequence, has already

trashed variables or memory blocks.

► Checking the trace log of the called routines leading up to one with the problem

will often show up the error.

► Compiler warnings.

Question No: 18 ( Marks: 1 ) - Please choose one Software architecture elements are further divided into categories which in total are ------

-----

► 2

► 3

► 4

► 5

Question No: 19 ( Marks: 1 ) - Please choose one Three tier architecture contains ------------- layers

► Presentation

► Application

► Database ► All of the above

Question No: 20 ( Marks: 1 ) - Please choose one 1. Variables should be initialized where they are declared and they should be declared in

the -------------- scope possible.

► Smallest

► largest

► medium

► None of the given

Question No: 21 ( Marks: 1 ) - Please choose one ------------------ are two important tools that can help in managing and mastering the

complexity of a program.

► abstraction and encapsulation

► abstraction and Inheritence

► abstraction and Polymarhphism

► None of given

Question No: 22 ( Marks: 1 ) - Please choose one Which of the following is a/are tool used in requirement analysis?

► Flow Graphs

► Data Flow Diagrams

► Activity Networks

► Module Dependency Diagrams

Question No: 23 ( Marks: 1 ) - Please choose one Consider the following comment. ―The software which I bought won‘t run on windows

and when it runs I can‘t use WORD at the same time‖. Which of the following do you

think are violated by the newly bought software?

► dependability, interchangeability

► platform independence, interoperability ► reliability, dependency

► interoperability, reliability

Question No: 24 ( Marks: 1 ) - Please choose one

……………… is a diagramming technique used to identify the types of objects in the system

and the static relationships that exist among them.

► Class Diagram

► Document flow diagrams

► Data flow diagrams

► Flow charts

Question No: 25 ( Marks: 1 ) - Please choose one Which of the following interaction style best suit the design of an interface for visually

impaired users?

► direct manipulation

► direct manipulation

► natural language

► command line

Question No: 26 ( Marks: 1 ) - Please choose one Which of the following testing involve purely black box testing?

► unit testing, beta testing

► acceptance testing, interface testing

► beta testing, acceptance testing

► integration testing, interface testing

1. Client Server model tries to data and processing

Distribute

Merge

Clone

Proceed

2. Anti- Patterns is another concept that corresponds to common in analysis and

design.

Mistake

Issues

Problems

All of the given

3. 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

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):

Size of each function

Choice of variable

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

29. Goto statements violate the idea of

Select correct option:

object oriented code

structured code

control structure

repetition structure

30. MVC pattern was based on the --------------- pattern.

Select correct option:

Observer

Structural

Behavioral

None of given

31. Which one is correct?

Select correct option:

double total = 0.5;

double total = .5;

double total = .50;

all of the given

32. Code should not be:

Select correct option:

commented

indented

cryptic

aligned

33. Global variables in C++ should always be referred to by using the

Select correct option:

:: operator

: operator

Without an operator

None of the given

34. _________ was the first pure Object Oriented language in which observer

pattern was used in implementing its Model View Controller pattern

Select correct option:

Smalltalk

PASCAL

JAVA

C++

35. using proper paranthesis normally makes the code

Select correct option:

easy to read

easy to understand

less ambigous

All of the given options

36.Which of the following shows a commented statement in C++

Select correct option:

# Ans = first + second

// Ans = first + second

\\ Ans = first + second

/# Ans = first + second

37. The form for (;;) should be used for

Select correct option:

nested loop

empty loop

more than 1000 iterations

38. Identifier names also play a significant role in enhancing the -------- of a

program.

Select correct option:

Writ ability

Readability

Reliability

39. It ensures that a class only has one instance and provides a global point of access

to it.

Select correct option:

Singleton Pattern

Observer Pattern

Real Pattern

None of the given

40. Names representing methods and functions should be----and written in mixed

case starting with -----case.

Select correct option:

Noun—lower

Verb----lower

Noun ---upper

Noun----upper

41. A function should not be larger in any case and should not exceed ______ in

length .

Select correct option:

Half page

One page

Two pages

Three Pages

42. -----provides a unified interface to a set of interfaces in a sub-system.

Select correct option:

Observer Pattern

Singleton Pattern

Façade Pattern

All of the above

43. MVC stands for ---------------

Select correct option:

Model View Controller

Modern View Center

Model View Center

Modern View Controller

44. 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

45.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

46. Comments should NOT be indented relative to their position in the code

Select correct option:

TRUE

FALSE

47. ----Provides a unified interface to a set of interfaces in a sub-system

Observer Pattern

Singleton Pattern

Façade Pattern

All of the above

48. In Client Server model, there application is modeled as a set so --- that are

provided by server

Application

Protocol

Services

All of the above

49. Vertical Partitioning is also know as

Balancing

Mutating

Parallizing

Factoring

50. Façade Pattern provides a unified interface to a set of interfaces ina sub-system.

True

False

51. Which of the is/are among ten things which the basis template of GOF design

pattern includes.

Problem

Context

Forces

All of the above

52. Thin Client Model places a heavy processing load on……

Only Server

Only Network

Both Server and Network(Not Sure)

Neither server nor network

53. Zero install architecture does not need any installation on ____________.

Server side (not Sure)

Client side

Client & Server Side (Not Sure)

None of the above

54. Data-Centered Architectural Style is also called ….

Repository model

Client Server model

Sub system model

Reference model

55. If a major rework is required to translate a program written for one

environment to another, it means code is not or less _______

Select correct option:

Secure

Bug Free

plateform dependent

Portable

56. Bit fields are a convenient way to express many difficult operations. However,

bit fields suffer from one problem

Select correct option:

Lack of usability

Lack of security

Lack of performance

Lack of portability

57. A ________ is a variance from a desired product attribute.

Select correct option:

Exception

Error

Mistake

Defect

58. _______ cause major portability issues

Select correct option:

Loops

Bugs in code

Sizes of data types

Conditional Structures

59. Creative activity __ is a creative activity while ___ is a destructive activity

Select correct option:

Development, Testing

Testing, Development

Validation, Verification

Verification, Validation

60. The idea behind exception handling is to raise some error flag every time ______

Select correct option:

The code compiles

The code links

Memory is allocated

Something goes wrong

61. ______ is a tool that can help us in reducing the size of individual functions.

Select correct option:

Inheritance

Modularity

Association

Abstraction

62. The number ________ is the most abused symbol in programs written in C or

C++.

Select correct option:

1

0

2

3

63. In ___ we look inside the system and evaluate what it consists of and how is it

implemented.

Select correct option:

Black Box Tesing

White Box Tesing

Gray Box Testing

All of the given options

64. ________ identifies which statements in a method or class have been executed.

Select correct option:

Method Coverage

Statement Coverage

Class Coverage

Brach Coverage

65. Comma ( , ) is very dangerous because

Select correct option:

Compiler does not recognise this symbol

It creates linkage problem

It causes side effects

All of the given options

66. Which one is used to describe flow of data or control in an application

Select correct option:

Class diagram

Use case diagram

Flow Chart

None of the given option

67. Consider the following statement: int a,b=10; Which of the following is correct:

Select correct option:

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

68. The order in which bytes of one word are stored is _______ dependent

Select correct option:

hardware

software

language

syntax

69. Verification and validation are the processes in which we check a product

against its _______ and the ________ of the users who will be using it

Select correct option:

statements, expectations

specifications, expectations

specifications , arguments

statements, arguments

70. After integrating subsystems into a system, and then testing this system as a

whole is

called

Select correct option:

Unit testing

Component testing

Subsystem testing

System testing

71. if (e.Title() == “CEO” || e.Salary() > 10000) in the above statement if

(e.Title()=="CEO") is TRUE then

Select correct option:

Second part is not evaluated

Second part is always evaluated

Second part must also be TRUE

Second part is not evaluated but e.Salary() is called

72. The raising of the imaginary error flag is simply called raising or ______ an

error

Select correct option:

Catching

Casting

Throwing

None of given options

73. ________ identifies which statements in a method or class have been executed.

Select correct option:

Method Coverage

Statement Coverage

Class Coverage

Brach Coverage

74. 80/20 rule states that:

Select correct option:

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.

75. In order to make a code more portable, Instead of using vendor specific

language extensions, use _____ as much as possible

Select correct option:

STL

ANSI

ISO

CMMI

76. In order to write a portable code which of the following guideline will be helpful:

Select correct option:

Stick to the standards

Program in the mainstream

Size of data types

All of the given options

77.The formula for calculating the Cyclomatic Complexity of a program is:

Select correct option:

E - N + 2

E + N + 2

E - N - 2

N - E + 2

78. A good program must contain ______ infeasible paths.

Select correct option:

0

1

2

infinite

79. When an error is thrown the overall system (on the lookout for this error flag)

responds by ____ the error.

Select correct option:

Ignoring

Casting

Catching

All of the given options

80.Unit Testing will be done by

Select correct option:

Testers

End Users

Customer

Developers

81. haiBit fields are a convenient way to express many difficult operations. However,

bit fields suffer from one problem

Select correct option:

Lack of usability

Lack of security

Lack of performance

Lack of portability

82. ______ and _______ are two important tools that helps in managing the

program complexity.

Select correct option:

Composition, Inheritance

Abstraction, Encapsulation

Aggregation, Inheritance

Modularity, Composition

83.if a major rework is required to translate a program written for one environment

to another, it means code is not or less _______

Select correct option:

Secure

Bug Free

plateform dependent

Portable

84. struct packed_struct { unsigned int f1:1; } pack; Here in "packed_struct":

Select correct option:

value of f1 = 1

size of f1 = 1 bit

value of f1 should not exceede 1

None of given options

85. if (e.Title() == “CEO” || e.Salary() > 10000) in the above statement if

(e.Title()=="CEO") is TRUE then

Select correct option:

Second part is not evaluated

Second part is always evaluated

Second part must also be TRUE

Second part is not evaluated but e.Salary() is called

86. In ___ we look inside the system and evaluate what it consists of and how is it

implemented.

Select correct option:

Black Box Tesing

White Box Tesing

Gray Box Testing

All of the given options

87. C/C++ language has not specified whether ____ is arithmetic or logical.

Select correct option:

Right shift >>

Right shift <<

&&

||

88. A test case involves

Select correct option:

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

89. Verification means:

Select correct option:

Have you built the right product?

Does the product meet user expectations?

Does the product meet system specifications?

All of the given options

90. Exception handling provides:

Select correct option:

Portability mechanism

Code Usability mechanism

Error Handling mechanism

All of the given options

91.A ________ is a variance from a desired product attribute.

Select correct option:

Exception

Error

Mistake

Defect

92.Unit Testing will be done by

Select correct option:

Testers

End Users

Customer

Developers

93. Which type of testing is not concerned with how the inputs are transformed into

outputs?

Select correct option:

White Box

Gray Box

Black Box

All of the given options

94. In the switch statement, cases should always end with a -------statment.

Select correct option:

Switch

Go

Break

Stop

95. 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.

Select correct option:

x = false

x = NULL

x = 0.0;

x = ‗\0‘

96. ______ is a tool that can help us in reducing the size of individual functions.

Select correct option:

Inheritance

Modularity

Association

Abstraction

97. Alpha testing is:

Select correct option:

Testing individual components independent of other components

Testing a collection of dependent components

Validation against user expectations

Acceptance testing for customized projects, in-house testing for products

98. A test case involves

Select correct option:

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

99. The process that involves verification of product with respect to its written

requirements is called _______.

Select correct option:

Maintainance

Debugging

Developement

Testing

100. struct packed_struct { unsigned int f1:1; } pack; Here in "packed_struct":

Select correct option:

value of f1 = 1

size of f1 = 1 bit

value of f1 should not exceede 1

None of given options

101. One of the main reasons to make functions is ______.

Select correct option:

Reliability

Reusability

Maintainability

Effeciency

102. The number ________ is the most abused symbol in programs written in C or

C++.

Select correct option:

1

0

2

3

103. Software _______ is the process of examining the software product against its

requirements.

Select correct option:

Testing

Debugging

Exception handling

All of the given options

104. In order to write a portable code which of the following guideline will be

helpful:

Select correct option:

Stick to the standards

Program in the mainstream

Size of data types

All of the given options

105. ______ and _______ are two important tools that helps in managing the

program complexity.

Select correct option:

Composition, Inheritance

Abstraction, Encapsulation

Aggregation, Inheritance

Modularity, Composition

106. Bit fields are a convenient way to express many difficult operations. However,

bit fields suffer from one problem

Select correct option:

Lack of usability

Lack of security

Lack of performance

Lack of portability

107. The greatest advantage of exception handling is its ability to handle:

Select correct option:

Asynchronous errors

Syntax errors

Memory errors

Control Structure errors

108.Testing of collection of modules to discover interfacing problems among

interacting modules is called

Select correct option:

Unit testing

Module testing

Subsystem testing

None of the given options

109. The Basic coding structure(s) include:

Select correct option:

Sequences

If statement

Case statement

All of the given options

110. The order in which bytes of one word are stored is _______ dependent

Select correct option:

hardware

software

language

syntax

111. The idea behind exception handling is to raise some error flag every time

________

Select correct option:

The code compiles

The code links

Memory is allocated

Something goes wrong

112. One of the main reasons to make functions is ______.

Select correct option:

Reliability

Reusability

Maintainability

Effeciency

113. The C/C++ language does not define the alignment of items within

Select correct option:

structures

classes

unions

All of the given options

114. A test case involves

Select correct option:

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

115. Be very careful when you use functions with side effects – functions that change

the values of the ________

Select correct option:

Objects

Classes

Structures

Variables

116. Objective of ____ is to show that the program does not work

Select correct option:

Requirements

Design

coding

Testing

117. In ___ we look inside the system and evaluate what it consists of and how is it

implemented.

Select correct option:

Black Box Tesing

White Box Tesing

Gray Box Testing

All of the given options

118.When an error is thrown the overall system (on the lookout for this error flag)

responds by ____ the error.

Select correct option:

Ignoring

Casting

Catching

All of the given options

119.Unit Testing will be done by

Select correct option:

Testers

End Users

Customer

Developers

120. Comma ( , ) is very dangerous because

Select correct option:

Compiler does not recognise this symbol

It creates linkage problem

It causes side effects

121.struct packed_struct { unsigned int f1:1; } pack; Here in "packed_struct":

Select correct option:

value of f1 = 1

size of f1 = 1 bit

value of f1 should not exceede 1

None of given options

122. Alpha testing is:

Select correct option:

Testing individual components independent of other components

Testing a collection of dependent components

Validation against user expectations

Acceptance testing for customized projects, in-house testing for products

123. A ___ is variance from a desired product attribute.

Select correct option:

Syntax error

Defect

Crash

All of the given options

124. 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.

Select correct option:

x = false

x = NULL

x = 0.0;

x = ‗\0‘

125. Identify the TRUE statement:

Select correct option:

Portability effects security

Size of data types vary from one machine to other

Size of control structures vary from one machine to other

None of the given options

126. In ___, system’s internal implementation details are not visible to the tester.

Select correct option:

White Box Testing

Gray Box Testing

Black Box Testing

All of the given options

127.After integrating subsystems into a system, and then testing this system as a

whole is called

Select correct option:

Unit testing

Component testing

Subsystem testing

System testing

128. A path through a program which is never traversed for any input data is called

________.

Select correct option:

Dependent path

Independent path

Infeasible path

Feasible path

129. Testing individual components independent of other components is called:

Select correct option:

Unit testing

Module testing

Subsystem testing

Non of the given options

130. The Basic coding structure(s) include:

Select correct option:

Sequences

If statement

Case statement

All of the given options

131. Exception handling is a powerful technique that separates error-handling code

from ____ code.

Select correct option:

Normal

Faulty

Buggy

Complex

132. ____ Testing of system is not possible

Select correct option:

Black Box

White Box

Exhaustive

None of the given options

133. In the switch statement, cases should always end with a -------statment.

Select correct option:

Switch

Go

Break

Stop

134. A test case involves

Select correct option:

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

135.Exception handling is a powerful technique that separates error-handling code

from ____ code.

Select correct option:

Normal

Faulty

Buggy

Complex

136. The C/C++ language does not define the alignment of items within

Select correct option:

structures

classes

unions

All of the given options

137. ______ and _______ are two important tools that helps in managing the

program complexity.

Select correct option:\

Composition, Inheritance

Abstraction, Encapsulation

Aggregation, Inheritance

Modularity, Composition

138. Verification means:

Select correct option:

Have you built the right product?

Does the product meet user expectations?

Does the product meet system specifications?

All of the given options

139. Which type of testing is not concerned with how the inputs are transformed

into outputs?

Select correct option:

White Box

Gray Box

Black Box

All of the given options

140. The size of ________ plays a significant role in making the program easy or

difficult to understand.

Select correct option:

function

object

data type

none of the above

141. Exception handling provides:

Select correct option:

Portability mechanism

Code Usability mechanism

Error Handling mechanism

All of the given options

142. Identify the TRUE statement:

Select correct option:

Portability effects security

Size of data types vary from one machine to other

Size of control structures vary from one machine to other

None of the given options

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

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

► Methods

Question No: 3 ( Marks: 1 ) - Please choose one 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

Question No: 4 ( Marks: 1 ) - Please choose one An state transition can only occur when triggered by a(n)________________

► actor

► collaboration attempt

► event

► none of the given

Question No: 5 ( Marks: 1 ) - Please choose one A change becomes ------------- because of close presence of data and fucntions

► Localized

► Private

► Global

► Accessible

Question No: 6 ( Marks: 1 ) - Please choose one A process which does not take input is called

► miracle process

► core porcess

► secondary process

► all of the above

Question No: 7 ( Marks: 1 ) - Please choose one Data Store notation in DFDs presents.

► Data input

► Data output

► Data input and Data output

► non of the given

Question No: 8 ( Marks: 1 ) - Please choose one Coupling is a measure of ----------------of a module or component.

► Independent

► Dependent

► Closeness

► All of the given

Question No: 9 ( Marks: 1 ) - Please choose one

If a problem is identified and fixed at a -------stage in the software development process,

it will cost much more than if it was fixed at and --------stage.

► eralier & lator

► after & before

► none of the above

► lator and earlier

Question No: 10 ( Marks: 1 ) - Please choose one Once these requirements have been finalized, the ---------------- process starts.

► Construction

► Development

► Mentainance phase

► Construction and Development

Question No: 11 ( Marks: 1 ) - Please choose one Identifying Whole-Part structures (Aggregations) means what are my ----------------

► Components

► Structures

► Objecs

► Classes

Question No: 12 ( Marks: 1 ) - Please choose one Data design actually begins during the creation of the analysis model, not the

architectural model.

► True

► False

Question No: 13 ( Marks: 1 ) - Please choose one System Architecture is important to consider becasue it helps in making -------------

► Mutual communication.

► Early design decisions.

► Reusable abstraction of a system.

► All of the above

Question No: 14 ( Marks: 1 ) - Please choose one Software architecture is "the ---------- of the components of a program/system,

their interrelationships, and principles and guidelines governing their design and

evolution over time."

► combination

► collection

► structure

► unification

Question No: 15 ( Marks: 1 ) - Please choose one Cohesion is about making sure each component does _____ thing and does it well.

► three

► two

► infinite

► one

Question No: 16 ( Marks: 1 ) - Please choose one Following are some statements associated with data flow diagrams. Identify the correct

statement from among them.

► DFDs are used to model complex interfaces.

► DFDs are used to represent only functional processing, data stores and data

movements between functions.

► DFDs depict only processes which can be decomposed.

► DFDs do not show external data sources and external data sinks.

Question # 1 of 10 ( Start time: 06:54:45 PM ) Total Marks: 1 Regarding Data Flow Model, which of the following statement(s) is/are true: Select correct option: 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 options

Question # 2 of 10 ( Start time: 06:55:47 PM ) Total Marks: 1

Data Flow Model:

Select correct option:

Captures the flow of data in a system

Helps in developing an understanding of system‘s functionality

Describes data origination, transformations and consumption in a system

All of the given options

In _______ the analyst determines all the sources of requirements and where do these requirements consume Data Flow Analysis

Source and Sink Analysis Down Parsing

Up Parsing

A context diagram is used A context diagram is used

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 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

In data flow diagram (DFD), Create, Update, Delete and Read operations are normally called:

CRUD operations DURC operations RUDC operations

CDUR operation The <<extend>> relationship between use cases would be used when

behavior in the extending use case is ____________ the extended use case. A context diagram:

Regarding Flow Chart which of the following statement(s) is/are TRUE: Flow charts are usually used to describe flow of control in a system 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, the entity or system, outside the boundary of this system is called Data store

Data Flow diagram (DFD) does not capture control flow information, it just shows the flow of the data in a system.

True False A prototype is not the real product but just a real looking mock-up of what

would be eventually delivered True

False Question # 3 of 10 ( Start time: 06:56:12 PM ) Total Marks: 1

A DFD is normally levelled (adding more levels of abstraction) as

Select correct option:

it is a good idea in design it is recommended by many experts

it is easy to do it

it is easier to read and understand a number of smaller DFDs than one large DFD

Question # 4 of 10 ( Start time: 06:56:25 PM ) Total Marks: 1

GUI stands for:

Select correct option:

Genaric User Interface

Graphical User Interface Genaric User Interaction

Graphical User Interaction

Question # 5 of 10 ( Start time: 06:56:36 PM ) Total Marks: 1

______ is one of the techniques to document domain knowledge

Select correct option:

State transition diagram

Feasibility matrix

System matrix

None of given options

Question # 6 of 10 ( Start time: 06:56:52 PM ) Total Marks: 1

In use case diagram, the scope of the system is defined by:

Select correct option:

Actor

Entity

System Boundary "Extends" relationship

Question # 8 of 10 ( Start time: 06:58:06 PM ) Total Marks: 1

A use case represents:

Select correct option:

a class, its attributes and operations.

an operation‘s interface and signature.

the role a user plays when interacting with the system.

the system‘s functionality for a particular purpose.

Question # 9 of 10 ( Start time: 06:58:26 PM ) Total Marks: 1

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

Question # 10 of 10 ( Start time: 06:58:42 PM ) Total Marks: 1

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

Following is/are example(s) of illegal data flow in Data Flow Diagram (DFD)

All the given options

In Data flow diagram (DFD), create, update, Delete and Read operations are normally

called:

CRUD operations

A use case represents:

The role a users plays when interacting with the system

The ―Extends‖ relationship is kind of a generalization specification relationship.

TRUE

There are some types of requirements that can not be documented in the use cases.

TRUE

In Data Flow Diagram (DFD), one data store can directly copy from another data store

False

In _________ the analyst determines all the sources of requirements and where do these

requirements consume

Source and Sink Analysis

A DFD is normally leveled (adding more levels of abstracting as

It is good idea in design

Use case construction is a technique used for:

Requirement Determination

An arrow in Data Flow Diagram (DFD) represents

Direction of Flow of Data

In use case diagram, an ellipse signifies a(n):

Use Case

In Data Flow Diagram (DFD), data flow can

Originate and terminate in an external entity

The use case diagram does not show which actors interact with each use case

False

System model include:

All the above

A Process in Data Flow Diagram (DFD) represents

Flow of Data

The Condition that must be met before the use case can be invoked, is called:

Pre-Condition

External Entity may be

Source of input data or destination of results

The <<extend>> relationship between use cases would be used when behavior in the

extending use case is ______________

Always needed by

In Data Flow Diagram, the entity or system, outside the boundary of this system is called

External Agent

Data cannot flow from one external entity to other external entity because:

An external entity has no mechanism to read or write

Data Flow model:

Capture the flow in a system

A prototype is not the real product but a real looking mock-up of what would be

eventually delivered

TRUE

A context diagram is used

As the first step in developing a detailed DFD of a system

________________________________________________________________________

CS504- Quiz Conference Dated 16-11-2011 time 8.47 pm

: 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 : 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 : 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 An external entity has no mechanism to read or write Both are outside the context of the system : 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 : In Data Flow Diagram (DFD), one data store can directly copy the data from another data store Select correct option: TRUE FALSE : An arrow in Data Flow Diagram (DFD) represents Select correct option: Direction of flow of data Processing of data

External agent Internal agent : 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 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 Post-Condition Pre-Assertion Post-Assertion : In use case diagram, the scope of the system is defined by: Select correct option: Actor Entity System Boundary "Extends" relationship : By levelling a DFD (adding more levels of abstraction) we mean Select correct option: Splitting it into different levels (Not Sure) Make its structure uniform Expanding a process into one with more sub-processes giving more detail Summarizing a DFD to specify only the essentials An arrow in Data Flow Diagram (DFD) represents Select correct option: Direction of flow of data Processing of data External agent Internal agent data flow diagram (DFD), Create, Update, Delete and Read operations are normally called: Select correct option: CRUD operations DURC operations

RUDC operations CDUR operation 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 Either originate or terminate in an external entity but not both In use case diagram, an ellipse signifies a(n): Select correct option: actor class use case system boundary Data Flow Model: Select correct option: Captures the flow of data in a system (not sure) Helps in developing an understanding of system’s functionality Describes data origination, transformations and consumption in a system All of the given options In use case diagram, the scope of the system is defined by: Select correct option: Actor Entity System Boundary "Extends" relationship 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 An external entity that interacts with a system is called a(n): Select correct option:

use case actor stakeholder association A context diagram: Select correct option: describes detailed design of a system is a DFD which gives an overview of the system is a detailed description of a system is not used in drawing a detailed DFD By levelling a DFD (adding more levels of abstraction) we mean Select correct option: Splitting it into different levels (Not Sure) Make its structure uniform Expanding a process into one with more sub-processes giving more detail Summarizing a DFD to specify only the essentials Question # 1 of 10 ( Start time: 09:02:54 PM ) Total Marks: 1 A context diagram: Select correct option: describes detailed design of a system is a DFD which gives an overview of the system is a detailed description of a system is not used in drawing a detailed DFD Question # 4 of 10 ( Start time: 09:04:14 PM ) Total Marks: 1 A use case represents: Select correct option: a class, its attributes and operations. an operation’s interface and signature. the role a user plays when interacting with the system. the system’s functionality for a particular purpose. Question # 6 of 10 ( Start time: 09:04:47 PM ) Total Marks: 1 Regarding Data Flow Model, which of the following statement(s) is/are true: Select correct option: 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 options

Question # 7 of 10 ( Start time: 09:05:25 PM ) Total Marks: 1 System models include: Select correct option: User business processes User activities for conducting the business processes Processes that need to be automated All of the given options Question # 8 of 10 ( Start time: 09:06:10 PM ) Total Marks: 1 In Data Flow Diagram, the entity or system, outside the boundary of this system is called Select correct option: Process Data Flow External Agent Data Store Question # 9 of 10 ( Start time: 09:06:29 PM ) Total Marks: 1 In use case diagram, the scope of the system is defined by: Select correct option: Actor Entity System Boundary "Extends" relationship Question # 10 of 10 ( Start time: 09:06:48 PM ) Total Marks: 1 In use case diagram, an ellipse signifies a(n): Select correct option: actor class use case system boundary

1. The extended>> relationship between use cases would be used when behavior

in extending use case is________ the extended use case.

a. always needed by __???not sure so find ua self

b. never needed by

c. sometimes needed by

d. None of the given options

2. Prototyping is used when there is uncertainty regarding requirements.

3. An external entity that interacts with a system is called a(n) actor

4. In Data Flow Diagram (DFD), data flow can:

a. only originate from an external entity ???? not sure abt ansr so find ua

self

b. only terminate in an external entity

c. originate and terminate in an external entity

d. either originate or terminate in an external entity but not both

5. Data Structure represents the internal organization of the various data control

items.

6. GUI stands for Graphical user Interface.

7. Data Flow Model:

a. capture the flow of data in a system

b. Helps in developing an understanding of systems functionality.

c. describes data origination, transformation and consumption in a system.

d. Allof the above

9. The goal of Product Engineering is to translate the customer‘s desire for a set

of defined capabilities into a working product.

10. A poorly designed interface can cause a user to make catastrophic errors is

one of the motivations for

GUI.

True

Abstract Class :

In object-oriented programming, a class designed only as a parent from

which sub-classes may be derived, but which is not itself suitable for instantiation.

Often used to

"abstract out" incomplete sets of features which may then be shared by a group of

sibling sub-classes which add different variations of the missing pieces.

ACM : Association for Computing Machinery

Active object : Active object An object that encompasses its own thread of

control.

Activity Diagram :

Depicts high-level business processes, including data flow, or to model

the logic of complex logic within a system.

Actors :

An actor is a person, organization, or external system that plays a role in one or

more interactions with your system. Actors are drawn as stick figures.

API : API (Application Program Interface)

APP : AAP The Association of American Publishers: engaged in standardisation

efforts in

document preparation

Association : Associations between actors and use cases are indicated in use case

diagrams by solid lines. An association exists whenever an actor is involved with an

interaction described by a use case. Associations are modeled as lines connecting use

cases and actors to one another, with an optional arrowhead on one end of the line.

Byte : Byte A data unit of several bits smaller than a computer word: usually 8

bits.

Cache :

Cache A small fast memory holding recently-accessed data, designed to speed up

further access

CAUSE :

CAUSE An international (mainly North American) nonprofit association for

managing and using information technology in higher education

CMM : CMM (Software Capability Maturity Model)

Composability :

Ability to compose systems from plug-and-play components

COMSOFT : COMSOFT Consortium for the Management of Emerging Software

Technologies

COTS :

COTS (commercial off-the-shelf software)

DLL : DLL (dynamic link library)

Evolvability : Support for new capabilities or ability to exploit new technologies

Functional Requirement :

Functional requirements describe the functionality of the product.

They describe exactly what tasks the software must perform. Functional

requirements define the scope of the system, the product boundaries, and its connections

to adjacent systems. Functional requirements also define the business rules. Business

rules are the rules that the system must conform to, based on the individual business. This

includes defining the data that must be

tracked. The business rules are the most important type of functional requirements

and most of your requirements will be of this type.

ISO : ISO (International Standards Association)

JAD : JAD (Joint Application Development)

Localizability :

Ability to make adaptations due to regional differences

Modifiability : Ability to add (unspecified) future functionality

Non-Functional Requirement :

Non-Functional requirements describe the look and feel of

the system. This includes the visual properties of the system, its usability, and the

performance requirements – how big, how fast, etc. Non-Functional requirements also

include the product‘s intended operating environment and any maintainability, portability

and security issues. Non-Functional requirements also include cultural and political

issues as well as legal requirements that the software must conform to.

OOA : OOA (object oriented analysis)

OOD : OOD (object oriented design)

OOP : OOP (object oriented programming)

Quality :

Quality is the degree of match between the product requirements (stated or

otherwise) and the actual product. It is defined from the point of view of the

user‘s perception, expectation and goals or need.