Tuesday, January 5, 2010

Object Oriented Analysis and Design - 1

LIST OF ATTEMPTED QUESTIONS AND ANSWERS

Multiple Choice Single Answer

Question: The key feature that enables users/application to cooperate and collaborate in

application processing is named as :-

Correct Answer: Concurrency

Your Answer: Collaboration

Multiple Choice Multiple Answer

Question: In designing classes, we are improving and enriching the class content in

terms of properties and we screen them for :-

Correct Answer: Local and communication association , Eliminating unnecessary

association , Identifying the relationship, top-down or bottom up, aggregation and

declaring relationship pattern.

Your Answer: Local and communication association , Eliminating unnecessary

association , Identifying the relationship, top-down or bottom up, aggregation and

declaring relationship pattern.

True/False

Question: More use classes may not necessarily bring better understanding or more

clarity.

Correct Answer: False

Your Answer: False

Select The Blank

Question: ________helps to integrate homogeneous database system with multiple

database and data types other than relational data types.

Correct Answer: MDBS

Your Answer: OODBMS

True/False

Question: A state chart diagram shows method of execution on receipt of message and

activities used in the method.

Correct Answer: True

Your Answer: True

True/False

Question: The registration form is filled for each member of family under one address

Correct Answer: True

Your Answer: True

Select The Blank

Question: We extensively use ________ for processing, refining and designing classes.

Correct Answer: UML

Your Answer: UML

Select The Blank

Question: The user must have access to both OODB and RDB to manipulate data. The

developer therefore must develop applications that could source data from ________

databases [ OODB, RDB etc] .

Correct Answer: All

Your Answer: Any two

True/False

Question: When the system is modeled into different case scenarios it not only goes

down to a level of function and features, but also reveals relationships and behaviours

amongst different system components.

Correct Answer: True

Your Answer: True

Multiple Choice Single Answer

Question: The concept of OOPS was first introduced in

Correct Answer: Simula Language

Your Answer: Simula Language

True/False

Question: With its strength, ODBC has become an industry standard for

interoperatability on different databases.

Correct Answer: True

Your Answer: True

Multiple Choice Multiple Answer

Question: The following are the columns to be filled in DVD reservation slip :-

Correct Answer: Name [ title ] , DVD ID , Required date

Your Answer: Name [ title ] , DVD ID , Required date

Select The Blank

Question: The row of table in RDBMS contains data which maps ________ of class in

OODBMS.

Correct Answer: Instance

Your Answer: Instance

Multiple Choice Single Answer

Question: The sequence of states that the object goes through when it receives a message

to act is shown by the diagram called :-

Correct Answer: State chart diagram

Your Answer: Sequence diagram

True/False

Question: Mapping of multiple inheritance into a single table is possible in RDBMS.

Correct Answer: True

Your Answer: True

Multiple Choice Multiple Answer

Question: All OODBMS products namely O2, Objectivity, Object Store and Versant

support following DBMS criteria :-

Correct Answer: User defined datatype , Is_a relationship , Part_of relationship

Your Answer: User defined datatype , Is_a relationship , Part_of relationship

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: As big as superclass

Multiple Choice Single Answer

Question: In OOSAD, the object is the unit used for analysis of the system, hence it is

called:-

Correct Answer: OOA [ Object Oriented Analysis ]

Your Answer: OOA [ Object Oriented Analysis ]

Select The Blank

Question: ________ of an object remains unchanged even though its state and properties

change.

Correct Answer: Identity

Your Answer: Identity

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

Question: The lock that cause interruption of the program when a new value is

committed in OODB is called :-

Correct Answer: Notify lock

Your Answer: Notify lock

True/False

Question: UML supports both static modeling and dynamic modeling

Correct Answer: True

Your Answer: True

Multiple Choice Single Answer

Question: In Object Oriented technology following expression is appropriate

Correct Answer: object=data+menthods

Your Answer: object=data+menthods

Multiple Choice Multiple Answer

Question: In context of transactions, OODBMS :-

Correct Answer: Handle nested transactions , Supports MROW , Supports long

transactions

Your Answer: Handle nested transactions , Supports MROW , Supports long

transactions

Multiple Choice Single Answer

Question: The lock that ensures that no other transaction is commited till the transaction

is in the mode of updation and creation of new version of object, is called

Correct Answer: Write Lock

Your Answer: Write Lock

Match The Following

Question Correct Answer: Your Answer

Class Shape Triangle, rectangle, circle, ellipse Triangle, rectangle, circle, ellipse

Class Vehicle Scooter, car, truck, tractor Scooter, car, truck, tractor

Class Animal Cat, dog, cow, tiger Cat, dog, cow, tiger

Class Color Red, yellow, blue, green Red, yellow, blue, green

Multiple Choice Multiple Answer

Question: Various database packages are :-

Correct Answer: Sibase , SAP , Oracle

Your Answer: Oracle , Sibase

Select The Blank

Question: When you express user-system interaction, the scenario in the model is called

________

Correct Answer: Case model

Your Answer: OOPS model

Multiple Choice Single Answer

Question: In DAD, the domain-specific & organisation-specific terms are covered under

the title :-

Correct Answer: Features

Your Answer: Features

Multiple Choice Single Answer

Question: In the railway transport environment, the same train [ train name, number etc ]

leave everyday from one station to the other. But in their operations, dates, drivers,

passengers etc differ every day. This pattern is called :-

Correct Answer: Abstraction-Occurrence Pattern

Your Answer: Abstraction-Occurrence Pattern

Select The Blank

Question: A class is the________ for an object.

Correct Answer: Template

Your Answer: Instance

True/False

Question: The principle of polymorphism helps to extend and modify the system scope

through appropriate messaging mechanism.

Correct Answer: True

Your Answer: True

Multiple Choice Multiple Answer

Question: Access to other OODBMS comprises of :-

Correct Answer: Read data resident in other OODB , Modify data resident in other

OODB , Read data resident on RDBMS

Your Answer: Read data resident in other OODB , Modify data resident in other OODB

True/False

Question: The UI should be designed for blind and mechanical operation.

Correct Answer: True

Your Answer: False

Multiple Choice Multiple Answer

Question: The main function will have following contents in C++

Correct Answer: Name of class followed by name of object , Name of object and

method separated by dot operator. , Variable declaration

Your Answer: Name of class followed by name of object , Name of object and method

separated by dot operator. , Header files

Multiple Choice Single Answer

Question: The method for industrial development of software based on use-case-driven

design is

Correct Answer: OOSE [ Object Oriented Software Engineering ]

Your Answer: OOD [ Object Oriented Design ]

Multiple Choice Multiple Answer

Question: OODBMS standards comprise of :-

Correct Answer: ODL , OQL , ODMG C++ binding

Your Answer: ODL , OQL

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 comprises of dissimilar datatypes. Class comprises of similar

datatypes.

Multiple Choice Single Answer

Question: The class and its hierarchy build through inheritance should lead to a :-

Correct Answer: Single purpose class

Your Answer: Super class

Multiple Choice Multiple Answer

Question: A first step in design is to construct a static UML class diagram consisting of:-

Correct Answer: Class name , Attributes , Methods

Your Answer: Class name , Attributes , Methods

True/False

Question: Sequence diagrams and collaboration diagrams are very difficult to select

classes and objects.

Correct Answer: False

Your Answer: False

Multiple Choice Multiple Answer

Question: The solution to simplicity of design lies in the following factors :-

Correct Answer: Class design , Building hierarchy , Grouping classes in aggregate sets

that have similar characteristics.

Your Answer: Class design , Building hierarchy , Grouping classes in aggregate sets that

have similar characteristics.

Multiple Choice Single Answer

Question: The purpose of declaring 'private' is :-

Correct Answer: Data hiding from accidental changes

Your Answer: Operator overloading

Select The Blank

Question: Invoice and ________ are two classes in the noun phrase approach .But

Amount is an attribute in invoice, hence should be rejected for class consideration.

Correct Answer: Amount

Your Answer: Amount

Match The Following

Question Correct Answer: Your Answer

Standard procedure Method Method

Table Scheme representing complex relationships between entities Scheme

representing complex relationships between entities

Column Refers datatype and name Refers datatype and name

Row Refers data for single entry Refers data for single entry

Multiple Choice Multiple Answer

Question: In Railway Reservation and Ticketing system, we can call following

parameters as attributes of class Passenger :-

Correct Answer: Name , Age , Sex

Your Answer: Name , Age , Sex

Multiple Choice Single Answer

Question: In DAD, the information providers such as users, customers, vendors and

stakeholders paly a role of

Correct Answer: Participants

Your Answer: Participants