Object-Oriented Data Modeling

Q1: Aggregation is which of the following?

A Expresses a part-of relationship and is a stronger form of an association relationship.

B Expresses a part-of relationship and is a weaker form of an association relationship.

C Expresses an is-a relationship and is a stronger form of an association relationship.

D Expresses an is-a relationship and is a weaker form of an association relationship.

Q2: Which of the following applies to a class rather than an object?

A Query

B Update

C Scope

D Constructor

Q3: Which of the following statement is true concerning objects and/or classes?

A An object is an instance of a class.

B A class is an instance of an object.

C An object includes encapsulates only data.

D A class includes encapsulates only data.

Q4: Multiplicity is the same as what concept for an ERD?

A Relationship

B Attribute

C Entity

D Cardinality

Q5: The benefits of object-oriented modeling are which of the following?

A The ability to tackle more challenging problems

B Reusability of analysis, design, and programming results

C Improved communication between users, analysts, etc.

D All of the above.

Q6: 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

Q7: A constructor operation does which of the following?

A Creates a new instance of a class

B Updates an existing instance of a class

C Deletes and existing instance of a class

D All of the above.

Q8: 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

Q9: 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

Q10: A UML diagram includes which of the following?

A Class name

B List of attributes

C List of operations

D All of the above.

Q11: Which of the following applies to a class rather than an object?

A Query

B Update

C Scope

D Constructor

Q12: An object can have which of the following multiplicities?

A Zero

B One

C More than one

D All of the above.

Q13: An abstract class is which of the following?

A A class that has direct instances, but whose descendants may have direct instances.

B A class that has no direct instances, but whose descendants may have direct instances.

C A class that has direct instances, but whose descendants may not have direct instances.

D A class that has no direct instances, but whose descendants may not have direct instances

Q14: Composition is a stronger form of which of the following?

A Aggregation

B Encapsulation

C Inheritance

D All of the above.

Q15: The object-oriented development life cycle is which of the following?

A Analysis, design, and implementation steps in the given order and using multiple iterations.

B Analysis, design, and implementation steps in the given order and going through the steps no more than one time.

C Analysis, design, and implementation steps in any order and using multiple iterations.

D Analysis, design, and implementation steps in any order and going through the steps no more than one time.

Q16: 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.


img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.