Thursday, October 27, 2011

Object Oriented Analysis and Design - 3

Object Oriented Analysis and Design - 3
Multiple Choice Single Answer
Question The database is created in
Correct
Answer
Oracle

Multiple Choice Single Answer
Question Collection of similar datatypes is called as
Correct
Answer
Array

Select The Blank
Question The links are expressed in ________ of associations.
Correct
Answer
Cardinality

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

Select The Blank
Question ________ analysis educates the analyst on business domain complexity and
shows a way to deal with it.
Correct
Answer
Domain

Multiple Choice Multiple Answer
Question Measurement can be used throughout a software project to assist in following
areas :
Correct
Answer
Estimation , Quality control , Productivity assessment and project control

Multiple Choice Single Answer
Question in 'railway ticket reservation system ' the roles such as enquiry , reservation and
ticketing and cancellation are to be performed by the user called :-
Correct
Answer
Passenger

Match The Following
Question -Correct Answer
We can define abstract operation on abstract data-Data abstraction

Process of sharing properties of the higher level object or class- Inheritance

Ability to inherit attributes and methods from 2 or more objects or classes-Multiple inheritance
Ability to send a message to several objects and to allow -receiving object to respond
method specified on the object.-Ploymorphism

Multiple Choice Multiple Answer
Question OODBMS supports comprise of
Correct
Answer
User defined datatype , Is_a relationship , Part_of relationship

Multiple Choice Multiple Answer
Question General guidelines for OOD building are
Correct
Answer
Review already built class for usage , Create simple class & apply inheritance /
multiple inheritance , Design simple & distinct methods

Select The Blank
Question Null and Notify locks are generally used ________ transaction boundary in a
cache.
Correct
Answer
Outside

Multiple Choice Single Answer
Question C++ is also named as
Correct
Answer
C with classes

True/False
Question The sequence diagram is complex and difficult to understand.
Correct
Answer
False

Multiple Choice Single Answer
Question NOC metric can be used to evaluate the degree of
Correct
Answer
Reuse

Multiple Choice Single Answer
Question Microsoft's Component Object Model [ COM ] and Distributed Component
Object Model [ DCOM ] are alternatives to
Correct
Answer
CORBA

Select The Blank
Question Software objects interact and communicate with each other using ________ .
Correct
Answer
Messages.

Multiple Choice Multiple Answer
Question System performance and effectiveness is a result of
Correct
Answer
Business knowledge , Business process , People who operate business

Multiple Choice Multiple Answer
Question When a use case is taken up for execution , each situation scenario has :-
Correct
Answer
Pre condition , Post Condition

Select The Blank
Question Another intention of ________ is to test and validate existing ideas as well as to
generate new ideas.
Correct
Answer
Prototyping

Multiple Choice Multiple Answer
Question In OOSAD model , the design phase mainly comprises of following activities
Correct
Answer
Review subsystem-class association & draw OO design , Allocate tasks &
identify collaboration , Design messaging models

Multiple Choice Single Answer
Question The method that destroys instance [ object ] of class is known as
Correct
Answer
Destruction

Multiple Choice Multiple Answer
Question The measures are based on data collection. The data is collected from following
sources :
Correct
Answer
Software engineering process , Software project , Software product

Multiple Choice Multiple Answer
Question The Object Management Group [ OMG ] suggested abstract object model with
following features :-
Correct
Answer
Object can be distinguished clearly. , The object methods and operations are
governed by parameters and their values. , The object's nature is persistent or
transient.

True/False
Question In order to achieve system goal , objects cooperate and interact with each other.
Correct
Answer
True

Multiple Choice Single Answer
Question Objects contain data and code to manupulate that data. The entire set of data
and code of object can be made user-defined data type using the concept of
Correct
Answer
Class

Select The Blank
Question As we move from OOA to OOD ,we evaluate class module into ________
entities.
Correct
Answer
Logical

Multiple Choice Single Answer
Question The interaction between user/actor and the system are shown mainly by :-
Correct
Answer
Interaction diagram

True/False
Question Once you define employee as an object for pay-roll application ,it can be used
for income tax, bonus, commission or any HR application .
Correct
Answer
True

True/False
Question To understand object as a system , we must understand its behavior in
association with other objects in the system .
Correct
Answer
True

Multiple Choice Single Answer
Question The process by which objects of one class acquire properties of objects of other
class is called
Correct
Answer
Inheritance

Select The Blank
Question We extensively use ________ for processing , refining and designing classes.
Correct
Answer
UML

Multiple Choice Single Answer
Question The WMC [ Weighted Method per Class ] is defined by the following expression,
Correct
Answer
WMC = å Ci

True/False
Question UA is the result of efforts to combine best practices , processes , methodologies
and guidelines using UML notations and diagrams that can provide a better
understanding of OO concepts and system development.
Correct
Answer
True

True/False
Question System functions in business domain environment.
Correct
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

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

True/False
Question Ambiguity does not arise if requirements are not specified in clear terms .
Correct
Answer
False

True/False
Question In OO approach , the transition from one phase of development to other is not
seamless and creates complexity.
Correct
Answer
False

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

Multiple Choice Multiple Answer
Question Occurrences of class 'order' can be
Correct
Answer
Appointment Order , Work Order , Purchase Order

True/False
Question High complexity should not be avoided so far as possible
Correct
Answer
False

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

Multiple Choice Single Answer
Question In DAD, the information providers such as users , customers , vendors and
stakeholders play a role of
Correct
Answer
Participants

Select The Blank
Question Since OODBMS supports distribution of objects , it must have a feature of
________ so that OO application need not take efforts to add mechanisms to
local objects.
Correct
Answer
Location transparency

Multiple Choice Multiple Answer
Question Persistent Object Storage System under DBMS , can provide
Correct
Answer
Unique ID to objects so as to reach correctly , Communication between objects ,
Large , stable and reliable storage capacity

Match The Following
Question -Correct Answer
Datamarts -Sections of a particular data -such as finance , stores , billing
etc.

Distributed database -The information is divided and stored separately in different servers.

End user database- Database created by an end user.

Data Warehouse Database located centrally so that everybody can have
access to it.

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


Object Oriented Analysis and Design - 2
Multiple Choice Single Answer
Question The actor in drama may have role of dancing in dance event and also may have a
role of singer in solo singing event . This pattern is known as .
Correct
Answer
Player role pattern

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

Multiple Choice Single Answer
Question C++ is basically a procedural language having extension of
Correct
Answer
Object Oriented technology

Select The Blank
Question ________ has become a standard notation for object oriented system modeling.
Correct
Answer
UML

Select The Blank
Question ________ is a graphical representation of user's view and developers
understanding of transactions performed in the case scenario .
Correct
Answer
Use case diagram

True/False
Question Testing is the process of demonstrating that the faults are not present.
Correct
Answer
True

Multiple Choice Multiple Answer
Question Like entity-relationship model , the object relationship model is developed. The
development takes place through following three steps :-
Correct
Answer
Draw a network of collaborators using CRC index cards. , From CRC index cards ,
evaluate responsibilities and collaborations. Name unlabeled lines. The direction of
relationship is indicated by an arrowhead line. , Determine cardinality .

Multiple Choice Single Answer
Question The use of constructors will be made in a 'member' class for
Correct
Answer
Initialize objects

Multiple Choice Single Answer
Question UML uses
Correct
Answer
OCL [ object Constraint Language ]

Select The Blank
Question When we move to OOSAD , server-resident applications will give way to objects
and ________ objects in Distributedserver environment.
Correct
Answer
Distributed

Multiple Choice Single Answer
Question Selected design pattern should be a solution that weights heavily on the
advantage and that has very few and insignificant disadvantages. In
documentation content , this is known as
Correct
Answer
Optimum solution

Multiple Choice Multiple Answer
Question Some key objectives of OOD process should achieve the following
Correct
Answer
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.

True/False
Question Compared to other OO methods , the metrics methods progressed very slowly.
Correct Answer
True
True/False
Question OODBMS ensures that in the event of failure the recovery process enforces
consistency in database status after a transaction is terminated by force externally.
Correct
Answer
True

Multiple Choice Multiple Answer
Question OOSAD has following main activities
Correct
Answer
Use case-driven OO analysis and OO design , Prototyping and review of OO
design , Implementation , incremental testing and maintenance.

Select The Blank
Question The company may have functional databases such as BOM , drawings ,
equipments . These databases are ________ in nature and are distributed
physically , logically and by responsibility of control.
Correct
Answer
Heterogeneous

Multiple Choice Multiple Answer
Question In train class the examples of changing parameters are
Correct
Answer
Driver , Passenger name , Guard

Match The Following
Question- Correct Answer

Method -Procedure body implementing operation

Object -Collection of data & operations

Class -Description of set of objects -Instance Technical term for object of class

True/False
Question The purpose of an interaction diagram is to understand the role of other objects
that are in collaboration with the object in question , the objective being to
complete the job.
Correct
Answer
True

Select The Blank
Question When object A wants object B to perform one of B's methods, object A sends a
________to object B.
Correct
Answer
Message

Select The Blank
Question The main objective in building ________class is to create set of classes that know
how to communicate with locations where data actually resides.
Correct
Answer
Access layer

Multiple Choice Single Answer
Question In OOSAD , the view layer classes or UI are
Correct
Answer
GUI [ Graphical User Interfaces ]

Multiple Choice Single Answer
Question The variables in the class 'member ' will be declared as
Correct
Answer
Private

Match The Following
Question -Correct Answer
Row -Refers data for single entry
Standard procedure -Method

Table -Scheme representing complex
relationships between entities
Column Refers- datatype and name
Multiple Choice Single Answer
Question When two classes refer to one class to read or write data , then the degree of
coupling is
Correct
Answer
High

Multiple Choice Multiple Answer
Question The following flaws generally arise through oversight.
Correct
Answer
Special circumstances may have been generated to accommodate the
unnecessary attribute or exceptions to it. Work involved in the creation of
unnecessary subclasses should be avoided. , A misinterpretation of the class
definition may lead to incorrect or extraneous class relationships. , The behavior of
the system or its classes may be improperly characterized to accommodate
extraneous attribute.

True/False
Question In the process of rationalizing and organizing classes we simplify class structure ,
minimizing number of classes and reducing information content in each of them .
Correct
Answer
True

Multiple Choice Multiple Answer
Question Use case models are more useful to :-
Correct
Answer
Analyst , Designer , Developer

Select The Blank
Question Models provide a way of describing a world but ________ techniques are only a
part of analysis and design.
Correct
Answer
Modeling

True/False
Question By default, variables are private and methods are public .
Correct
Answer
True

Select The Blank
Question In a view layer class we build ________ where the user interacts with the system.
Correct
Answer
Interface

Multiple Choice Single Answer
Question In use case model , store clerk , shop manager , vendor and purchase manager
are
Correct
Answer
Actors

Select The Blank
Question A ________is a declaration that a pointer to a base class is to be treated as a
pointer to a derived class.
Correct
Answer
Down cast

Multiple Choice Multiple Answer
Question A simple and single object on its own does not achieve anything unless it is
triggered into action by the following from other object or method.
Correct
Answer
Stimulus , Signal , Message

True/False
Question An object may become reusable by accident or by design.
Correct
Answer
True

Multiple Choice Single Answer
Question Being an individual , different roles in a system performance can be played by :-
Correct
Answer
User
True/False
Question OO approach saves development time as the object can be reused.
Correct
Answer
True

Multiple Choice Multiple Answer
Question OOT features three counts namely
Correct
Answer
Reusability , Portability , Interoperability

True/False
Question An immutable class is never protected from changing.
Correct
Answer
False

Multiple Choice Multiple Answer
Question The following are some of the authors who have published methods for analysis
and design of systems based on OO paradigm
Correct
Answer
Coad , Yourdon , Shlaer

Multiple Choice Single Answer
Question One has to identify classes , class relationships , class attributes and class
methods for drawing
Correct
Answer
Static class diagram

Multiple Choice Single Answer
Question The OO testing is generally based on the techniques of
Correct
Answer
Fault detection

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

Multiple Choice Single Answer
Question Collection of similar datatypes is called as
Correct
Answer
Array

Multiple Choice Multiple Answer
Question Consider a Store Transaction System. If the use case diagram of store transaction
system is prepared , the following activities can be taken into consideration.
Correct
Answer
Customer submits requisition for material. , Storekeeper confirms availability of
material and issues the same. , Customer collects the material.

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

True/False
Question DIT is not useful in predicting defect-proneness of a class.
Correct
Answer
False

Object Oriented Analysis and Design - 1

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


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


Match The Following
Question
Correct Answer

Versant
www.versant.com

O2
www.o2tech.com

Objectivity
www.objectivity.com

Odi.com
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


True/False
Question
Objects can be both , tangible or intangible.
Correct 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

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


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

Select The Blank
Question
________ is the instance of class.
Correct 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.

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


Multiple Choice Multiple Answer
Question
The Jacobson et al. methodology uses following models
Correct 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.

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


True/False
Question
Some objects continue to exist even though the program that created them is not alive.
Correct 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


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.

True/False
Question
Extensions are to be designed for handling exceptional , one of requests of user.
Correct 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.

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

Select The Blank
Question
The class can be expanded using property of ________ to lower levels of sub-class and instances.
Correct 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

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

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

Multiple Choice Single Answer
Question
The process of grouping objects whose characteristics are common into the class is called :-
Correct 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
Match The Following
Question
Correct Answer

Unnecessary functions
Additional methods which are not required for current applications

Ambiguity
Requirements are not specified in clear terms

Incomplete requirements
Absence of needs that are crucial to successful functioning of system

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


Multiple Choice Single Answer
Question
A role is nothing but a particular set of properties associated with the
Correct 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

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


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


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


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


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


Multiple Choice Single Answer
Question
Concurrency control and synchronization of different processes is achieved by using
Correct 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.


Multiple Choice Single Answer
Question
XML can be viewed as an extension of
Correct 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


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

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


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


Select The Blank
Question
WMC could be kept as ________ as possible.
Correct 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


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


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.

No comments:

Post a Comment

Post a Comment