Ooad MCQ
Ooad MCQ
Model 1.
1) The method of design encompassing the process of object oriented decomposition and a notation
for depicting both logical and physical and as well as static and dynamic models of the system
under design is known as:
a) Object- Oriented Programming
b) Object- Oriented Design
c) Object- Oriented Analysis
d) None of the mentioned
View Answer B
2) What is the programming style of the object oriented conceptual model?
a) Invariant relationships
b) Algorithms
c) Classes and objects
d) Goals, often expressed in a predicate calculus.
View Answer C
3) The essential characteristics of an object that distinguish it from all other kinds of objects and
thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer is
called:
a) Encapsulation
b) Modularity
c) Hierarchy
d) Abstraction
View Answer D
4) Abstraction is classified into _______ types
a) 4
b) 3
c) 2
d) 1
View Answer A
5) The process of compartmentalizing the elements of an abstraction that constitute its structure and
behavior is called as
a) Hierarchy
b) Encapsulation
c) Modularity
d) Entity Abstraction
View Answer B
6) Single inheritance, Multiple inheritance, and Aggregation comes under _______
a) Modularity
b) Typing
c) Hierarchy
d) None of the mentioned
View Answer C
7) In which of the following mechanisms, types of all variables and expressions are fixed at
compilation time.
a) Strong Typing
b) Weak Typing
c) Static Binding/ early binding
d) Dynamic Binding/ late binding
View Answer C
8) In which of the following mechanisms, types of all variables and expressions are not known until
runtime
a) Strong Typing
b) Weak Typing
c) Static Binding/ early binding
d) Dynamic Binding/ late binding
View Answer D
9) Which of the following statements about Persistence is correct?
a) It is the enforcement of the class of an object, such that objects of different types may not be
interchanged, or at the most they may be interchanged only in very restricted ways.
b) It is the property of an object through which its existence transcends time and/or space.
c) It is the property that distinguishes an active object from one that is not active.
d) All of the mentioned
View Answer B
10) What is that concept in type theory in which a single name may denote objects of many
different classes that are related by some common super class referred to ______
a) Monomorphism
b) Type Checking
c) Polymorphism
d) Generalization
View Answer C
The fact that the same operation may apply to two or more classes is called what?
A. Inheritance
B. Polymorphism
C. Encapsulation
D. Multiple classification
Ans : b
The fact that the same operation may apply to two or more classes is called what?
A. Inheritance
B. Polymorphism
C. Encapsulation
D. Multiple classification
a
The term Complete for a UML has the same meaning as which of the following for an EER
diagram?
A. Overlapping rule
B. Disjoint rule
C. Total specialization rule
D. Partial specialization rule
c
The term Incomplete for a UML has the same meaning as which of the following for an EER
diagram?
A. Overlapping rule
B. Disjoint rule
C. Total specialization rule
D. Partial specialization rule : D
Which of the following is a technique for hiding the internal implementation details of an object?
A. Encapsulation
B. Polymorphism
C. Inheritance
D. All of the above
A
Which of the
following is not a
good reason for
constructing a
requirements
model?
A) It can show
the busine
situation in
enough de
to check th
the
requiremen
have been
captured fu
and correc
B) It can
demonstra
that all the
use cases
have been
drawn usin
the correct
notation.
C) It can be
organized
such a way
that it will
useful late
for designi
the softwa
2
Which of the following statements best describes what a class diagram can include?
A) Only class
B) Only class
and their
relationshi
C) Classes,
instances a
their
relationshi
3
Which is the correct name for "a possible set of classes, together with an understanding of how thos
classes might interact to deliver the functionality of a use case"?
A) A use case
class
diagram.
B) A realizati
C) A
collaborati
4
What is the significance of the dependency arrow in this diagram?
It shows that
elements
within the
collaboration
(the dotted
ellipse) may
reference
elements
within the
use case (the
solid
ellipse).
One of the
following is not a
difference between
a class diagram
and a collaboration
diagram. Which
one?
10
What is the significance of the double colon in the class name: User Interface::AddAdvertUI?
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] .
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 Animals functions and data
Your Answer: Dog inherits Animals 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