You are on page 1of 5

www.jntuworld.

com

OOAD OBJECTIVE QUESTIONS


151. Objects are instances of
a. Template
b. Specialized template
c. Classes
d. None of the above.
152. A subclass inherits features from
a. Global classes
b. Abstract classes
c. Base classes
d. Only (a) and (b)
153. The fundamental units of object oriented programming are

D
L

a. Objects, Methods, Messages & Classes.


b. Objects, Member functions, Messages

R
O

c. Objects, Methods, Messages


d. Both (a) & (b).
e. None of the above.

W
U

154. Two kinds of Object Hierarchies are

a. Links and Aggregation / Composition

T
N

b. Generalization
c. Dependency

d. Both (b) and (c)

e. None of the above


155. Generalization may be applied to
a. Associations as well as Classes
b. Association alone
c. Classes alone
d. None of the above
156. The Unified Modeling Language (UML) is a language for
i.

specifying the structure and behavior of a system

ii.

visualizing a system as it is or as we want it to be

iii.

constructing a system from the template provided by the model

iv.

All the above

www.jntuworld.com

www.jntuworld.com

157. Relationships connect modeling elements. They could be


i. dependency
ii. association
iii. generalization
iv. realization
v. None of the above
vi. All the above
158. Extensibility Mechanisms
a. Stereotype
b. Tagged value
c. Constraint
d. None of the above
e. All the above

D
L

159. Operation:
1. Used to show operations defined on classes

R
O

2. An operation is a service that an instance of the class may be requested to perform


3. An operation is shown as a text string that can be parsed into the various properties of an
operation model element

W
U

4. None of the above


5. All the above

T
N

160. Static view diagrams(Structural diagrams)


(a) Class diagrams

(b) Object diagrams


(c) Both (a) and (b)

(d) None of the above


(e) All the above
161. Interaction diagram are:
(a) Sequence diagram
(b) collaboration diagram
(c) Both (a) and (b)
(d) None of the above
(e) All the above
162. Implementation diagrams are :
a. Component diagram
b. Deployment diagram

www.jntuworld.com

www.jntuworld.com

c. Both (a) and (b)


d. None of the above
e. All the above
163. A use case model consists of
(a) Use cases
(b) Actors
(c) System modeled
(d)All the above
(e)None of the above
164. The characteristics of a use case are

D
L

(a) it should be complete


(b) it should always be initiated by actor

R
O

(c) it should provide an value to an actor


(d) All the above
(e) None of the above

W
U

165. The relationship between use cases are


(a) Extends relationship

T
N

(b) Uses relationship


(c) Grouping

(d) All the above

166. Which diagram is NOT commonly used for illustrating use cases?
(a) system sequence diagram
(b) activity diagram
(c) use case diagram
(d) collaboration diagram
167. If you need to show the physical relationship between software components and the hardware
in the delivered system, which diagram can you use?
(a) Component diagram
(b) deployment diagram
(c) class diagram
(d) network diagram

www.jntuworld.com

www.jntuworld.com

168. In order to model the relationship a course is composed of 5 to 20 students and


one or more instructors, you could use:
a Aggregation
b Association
c Composition
d Realization
169. Divide a complex system into small, self-contained pieces that can be managed
independently. How is it called?
a Abstraction
b Modularity

D
L

c Encapsulation
d Hierarchy

R
O

170. In order to model the relationship a course is composed of 5 to 20 students and


one or more instructors, you could use:

W
U

a Aggregation
b Association

T
N

c Composition
d Realization

171. Which of the following statements are true?


a All operations defined in a sub-class are inherited by the super-class
b Generalization allows abstracting common features and defining them in a
super-class
c A super-class is a class that must not have associations
d Association is a part-of relationship
172.What is the relationship between these two use cases?
a Generalization
b Extend
c Include

www.jntuworld.com

www.jntuworld.com

d Association
173. Which of these diagrams shows interactions between objects?
a Activity diagram
b Class diagram
c Sequence diagram
d Component diagram
174. A statechart diagram describes:
a Attributes of objects
b Nodes of the system
c Operations executed on a thread

D
L

d Events triggered by an object


175. An interface is:

R
O

a A set of objects used to provide a specific behaviour


b A set of classes used on a collaboration

W
U

c A set of attributes used on an operation

d A set of operations used to specify a service of a class or component

T
N

www.jntuworld.com

You might also like