Monday, February 4, 2008

Object Oriented Analysis and Design - 1

LIST OF ATTEMPTED QUESTIONS AND ANSWERS



Multiple Choice Multiple Answer
Question
In a template for DAD, following details are covered under title ' Technology ' :-
Correct Answer
Systems & architecture , Hardware configuration , Software configuration
Your Answer
Systems & architecture , Hardware configuration , Software configuration

Select The Blank
Question
The interaction between classes is achieved through ________ sent from one class to other.
Correct Answer
Messages
Your Answer
Messages

Match The Following
Question
Correct Answer
Your Answer
Versant
www.versant.com
www.versant.com
O2
www.o2tech.com
www.o2tech.com
Objectivity
www.objectivity.com
www.objectivity.com
Odi.com
www.Objectstore
www.Objectstore

Multiple Choice Single Answer
Question
Compared to RDBMS with OODBMS , there is no explicit management of inheritance of attributes and methods in RDBMS are whereas in OODBMS
Correct Answer
Inheritance property represents relations explicitly
Your Answer
Inheritance property represents relations explicitly

True/False
Question
Objects can be both , tangible or intangible.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
How big is a class object?
Correct Answer
Is as big as sum of the sizes of its member variables
Your Answer
Is as big as sum of the sizes of its member variables

True/False
Question
XML is a meta data language developed to specify data with a goal of improving interoperatability of different data sources.
Correct Answer
True
Your Answer
True

True/False
Question
In OO testing approach , if we consider test as an object, the object ‘test’ is associated with a class . ‘test specifications’
Correct Answer
True
Your Answer
True

Select The Blank
Question
________ is the instance of class.
Correct Answer
Object
Your Answer
Object

Multiple Choice Single Answer
Question
The small programs , after testing , are integrated in a large program. The complete large program is again tested. This type of testing is called as
Correct Answer
Integration testing.
Your Answer
Integration testing.

Multiple Choice Multiple Answer
Question
When domain knowledge supports the OO analysis the following features are covered adequately :-
Correct Answer
System scope , System definition , System goals
Your Answer
System scope , System definition , System goals

Multiple Choice Multiple Answer
Question
The Jacobson et al. methodology uses following models
Correct Answer
Use case Model , Domain Object Model , Analysis Object Model
Your Answer
Use case Model , Domain Object Model , Analysis Object Model

Multiple Choice Single Answer
Question
The main difference between structure and class is
Correct Answer
Structure does not support OOPS Class Supports OOPS.
Your Answer
Structure does not support OOPS Class Supports OOPS.

Select The Blank
Question
Testing is the process of finding differences between the expected behavior specified by the system model and the ________ behavior of implemented design.
Correct Answer
Observed
Your Answer
Observed

True/False
Question
Some objects continue to exist even though the program that created them is not alive.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
If Dog derives from Mammal, and Mammal derives from Animal, then -
Correct Answer
Dog inherits Animal's functions and data
Your Answer
Dog inherits Animal's functions and data

Multiple Choice Multiple Answer
Question
In OO design there are some basic principles that should be followed :-
Correct Answer
Study and know the existing class library , Examine reuse of class library in the current system. , If the existing classes are not suitable , then design the new ones with the intention to reuse them subsequently.
Your Answer
Study and know the existing class library , Examine reuse of class library in the current system. , If the existing classes are not suitable , then design the new ones with the intention to reuse them subsequently.

True/False
Question
Extensions are to be designed for handling exceptional , one of requests of user.
Correct Answer
True
Your Answer
True

Multiple Choice Multiple Answer
Question
UA recommends following processes towards system development
Correct Answer
Prototyping & developing model in increments part by part. , Continuous testing. , Iterate the process till the system is fully developed.
Your Answer
Prototyping & developing model in increments part by part. , Continuous testing. , Iterate the process till the system is fully developed.

Multiple Choice Multiple Answer
Question
the view layer class or UI class is responsible for following main activities :-
Correct Answer
Fetching an input , Displaying an output , Printing an output
Your Answer
Fetching an input , Displaying an output , Printing an output

Select The Blank
Question
The class can be expanded using property of ________ to lower levels of sub-class and instances.
Correct Answer
Inheritance
Your Answer
Inheritance

Select The Blank
Question
Some functions , features , processes are better understood if the ________ in which system operates is also understood in the first place.
Correct Answer
Domain
Your Answer
Domain

Multiple Choice Multiple Answer
Question
The CAD is widely used in engineering drawing applications such as
Correct Answer
Network analysis and design , Printed Circuit Board [ PCB ] design , Electrical layouts
Your Answer
Printed Circuit Board [ PCB ] design , Electrical layouts

True/False
Question
Immutable objects are not good to have in the system as they are unstable and non-trustworthy.
Correct Answer
False
Your Answer
False

Multiple Choice Single Answer
Question
The process of grouping objects whose characteristics are common into the class is called :-
Correct Answer
Classification
Your Answer
Classification

Select The Blank
Question
In a façade class , we provide most often required and most dynamic properties of the ________ class and class in the main system.
Correct Answer
Super
Your Answer
Super

Match The Following
Question
Correct Answer
Your Answer
Unnecessary functions
Additional methods which are not required for current applications
Additional methods which are not required for current applications
Ambiguity
Requirements are not specified in clear terms
Requirements are not specified in clear terms
Incomplete requirements
Absence of needs that are crucial to successful functioning of system
Absence of needs that are crucial to successful functioning of system
Unnecessary features
Increase solution overheads affecting performance , complexity , stability & support requirements.
Increase solution overheads affecting performance , complexity , stability & support requirements.

Multiple Choice Single Answer
Question
The degree of complexity increases as number of paths
Correct Answer
Increase
Your Answer
Increase

Select The Blank
Question
Read and Write locks are generally used ________ transaction boundary .
Correct Answer
Inside
Your Answer
Inside

Multiple Choice Single Answer
Question
A role is nothing but a particular set of properties associated with the
Correct Answer
Class
Your Answer
Class

True/False
Question
One way to achieve portability is to write software in standard version of high level language and to develop portable system and application software .
Correct Answer
True
Your Answer
True

True/False
Question
OODBMS must be accessible by multiple users. That is if users/application access a selection of database , other user/application should also be in a position to access other sections of database.
Correct Answer
True
Your Answer
True

Multiple Choice Multiple Answer
Question
Wirfs-Brock has given following three generic relationships between classes.
Correct Answer
Is-a-part-of relationship , Has-a-knowledge-of relationship , Depends-upon relationship
Your Answer
Is-a-part-of relationship , Has-a-knowledge-of relationship , Depends-upon relationship

Select The Blank
Question
In OO design process , the class is first made richer by adding two main properties :- ________ of the class and methods ( operations ) of the class.
Correct Answer
Attributes
Your Answer
Attributes

Multiple Choice Single Answer
Question
Due to complex interactions , interaction diagrams are usually difficult to draw & read.The remedy is :-
Correct Answer
Split the use cases into smaller activities or tasks with specific goals
Your Answer
Split the use cases into smaller activities or tasks with specific goals

True/False
Question
The prime objective of software testing is to find the greatest possible number of errors with a manageable amount of efforts applied over a realistic time span.
Correct Answer
True
Your Answer
True

Multiple Choice Single Answer
Question
Concurrency control and synchronization of different processes is achieved by using
Correct Answer
Locks
Your Answer
Locks

Multiple Choice Single Answer
Question
The main difference between structure and class is
Correct Answer
Structure does not support OOPS Class Supports OOPS.
Your Answer
Structure does not support OOPS Class Supports OOPS.

Multiple Choice Single Answer
Question
XML can be viewed as an extension of
Correct Answer
HTML
Your Answer
HTML

Multiple Choice Single Answer
Question
The technique developed for measurement of complexity of a graph is named as
Correct Answer
McCabe cyclomatic complexity
Your Answer
McCabe cyclomatic complexity

Select The Blank
Question
The complexity ________ as the system becomes more complex.
Correct Answer
Increases
Your Answer
Increases

Multiple Choice Single Answer
Question
The concept of OOPS was first introduced in
Correct Answer
Simula Language
Your Answer
Simula Language

Select The Blank
Question
The classes are associated with ________ mechanism.
Correct Answer
Coupling
Your Answer
Interfacing

Select The Blank
Question
WMC could be kept as ________ as possible.
Correct Answer
Low
Your Answer
Low

Multiple Choice Single Answer
Question
The class can be expanded using property of inheritance to lower levels of sub-class and instances. This is called as
Correct Answer
Class structure
Your Answer
Class structure

Multiple Choice Multiple Answer
Question
It is not necessary that the user be a human being. It could be :-
Correct Answer
Bar code reader , Card swiping machine , ATM system
Your Answer
Bar code reader , Card swiping machine

Multiple Choice Multiple Answer
Question
Some of principles of OOD are
Correct Answer
The use of standard class libraries should be a first choice. , Extensive use of 'extension' , 'uses' should be made to reduce number of classes. , Extensive use of 'inheritance' should be made to reduce number of classes.
Your Answer
The use of standard class libraries should be a first choice. , Extensive use of 'extension' , 'uses' should be made to reduce number of classes. , Extensive use of 'inheritance' should be made to reduce number of classes.

No comments:

Post a Comment