Monday, 17 June 2013

Object Oriented Analysis and Design - 2


LIST OF ATTEMPTED QUESTIONS AND ANSWERS
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
Your 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
Your Answer Super
Multiple Choice Single Answer
Question C++ is basically a procedural language having extension of
Correct
Answer
Object Oriented technology
Your Answer Object Oriented technology
Select The Blank
Question ________ has become a standard notation for object oriented system modeling.
Correct
Answer
UML
Your 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
Your Answer Use case diagram
True/False
Question Testing is the process of demonstrating that the faults are not present.
Correct
Answer
True
Your 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 .
Your 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
Your Answer Initialize objects
Multiple Choice Single Answer
Question UML uses
Correct
Answer
OCL [ object Constraint Language ]
Your 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
Your 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
Your 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.
Your 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
Your 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
Your 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.
Your 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
Your Answer Heterogeneous
Multiple Choice Multiple Answer
Question In train class the examples of changing parameters are
Correct
Answer
Driver , Passenger name , Guard
Your Answer Driver , Passenger name , Guard
Match The Following
Question Correct Answer Your Answer
Method Procedure body implementing
operation
Procedure body implementing
operation
Object Collection of data & operations Collection of data & operations
Class Description of set of objects Description of set of objects
Instance Technical term for object of
class
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
Your 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
Your 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
Your Answer Access layer
Multiple Choice Single Answer
Question In OOSAD , the view layer classes or UI are
Correct
Answer
GUI [ Graphical User Interfaces ]
Your Answer GUI [ Graphical User Interfaces ]
Multiple Choice Single Answer
Question The variables in the class 'member ' will be declared as
Correct
Answer
Private
Your Answer Private
Match The Following
Question Correct Answer Your Answer
Row Refers data for single entry Refers data for single entry
Standard procedure Method Method
Table Scheme representing complex
relationships between entities
Scheme representing complex
relationships between en entities
Column Refers datatype and name 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
Your 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.
Your Answer 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. , The testing equipments are
improper.
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
Your Answer True
Multiple Choice Multiple Answer
Question Use case models are more useful to :-
Correct
Answer
Analyst , Designer , Developer
Your 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
Your Answer Modeling
True/False
Question By default, variables are private and methods are public .
Correct
Answer
True
Your Answer True
Select The Blank
Question In a view layer class we build ________ where the user interacts with the system.
Correct
Answer
Interface
Your Answer Interface
Multiple Choice Single Answer
Question In use case model , store clerk , shop manager , vendor and purchase manager
are
Correct
Answer
Actors
Your 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
Your 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
Your Answer Stimulus , Message , Vector
True/False
Question An object may become reusable by accident or by design.
Correct
Answer
True
Your Answer True
Multiple Choice Single Answer
Question Being an individual , different roles in a system performance can be played by :-
Correct
Answer
User
Your Answer User
True/False
Question OO approach saves development time as the object can be reused.
Correct
Answer
True
Your Answer True
Multiple Choice Multiple Answer
Question OOT features three counts namely
Correct
Answer
Reusability , Portability , Interoperability
Your Answer Reusability , Portability , Interoperability
True/False
Question An immutable class is never protected from changing.
Correct
Answer
False
Your 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
Your 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
Your Answer Entity relationship class diagram
Multiple Choice Single Answer
Question The OO testing is generally based on the techniques of
Correct
Answer
Fault detection
Your 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
Your Answer Bar code reader , Card swiping machine , ATM system
Multiple Choice Single Answer
Question Collection of similar datatypes is called as
Correct
Answer
Array
Your 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.
Your 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
Your Answer Coupling
True/False
Question DIT is not useful in predicting defect-proneness of a class.
Correct
Answer
False
Your Answer False

No comments:

Post a Comment