0% found this document useful (0 votes)
449 views5 pages

OOAD5

The document contains 175 multiple choice questions about object-oriented analysis and design (OOAD) concepts and Unified Modeling Language (UML) diagrams. The questions cover topics such as classes, objects, relationships between modeling elements, static structure diagrams, interaction diagrams, use case modeling, and statechart diagrams.

Uploaded by

Kolli Monica
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
449 views5 pages

OOAD5

The document contains 175 multiple choice questions about object-oriented analysis and design (OOAD) concepts and Unified Modeling Language (UML) diagrams. The questions cover topics such as classes, objects, relationships between modeling elements, static structure diagrams, interaction diagrams, use case modeling, and statechart diagrams.

Uploaded by

Kolli Monica
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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 a. Objects, Methods, Messages & Classes. b. Objects, Member functions, Messages c. Objects, Methods, Messages d. Both (a) & (b). e. None of the above. 154. Two kinds of Object Hierarchies are

a. Links and Aggregation / Composition 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. ii. iii. iv. specifying the structure and behavior of a system visualizing a system as it is or as we want it to be constructing a system from the template provided by the model All the above

T N

W U

R O

D L

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 159. Operation: 1. Used to show operations defined on classes

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 4. None of the above 5. All the above

160. Static view diagrams(Structural diagrams) (a) Class diagrams

(b) Object diagrams (c) Both (a) and (b)

T N

W U

R O

D L

(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 (a) it should be complete (b) it should always be initiated by actor (c) it should provide an value to an actor (d) All the above (e) None of the above 165. The relationship between use cases are (a) Extends relationship (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

T N

W U

R O

D L

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 c Encapsulation d Hierarchy

170. 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

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

T N

W U

R O

D L

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 Events triggered by an object 175. An interface is: a A set of objects used to provide a specific behaviour b A set of classes used on a collaboration 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

W U

R O

D L

www.jntuworld.com

You might also like