MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Database
Object Oriented Data Modeling
Quiz 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
The reasons for overriding include extension, restriction, and optimization.
True
False
Q.2
An object's state is determined by its attribute values and links to other objects.
True
False
Q.3
Composition does not allow an object to be part of more than one aggregate object.
True
False
Q.4
In an object diagram, an object is represented as a rectangle with two compartments.
True
False
Q.5
An operation that alters the state of an object is known as a constructor operation.
True
False
Q.6
A solid diamond represents a stronger form of aggregation, known as composition.
True
False
Q.7
Each association has two or more roles.
True
False
Q.8
An aggregation is a stronger form of association relationship and is represented with a solid diamond at the aggregate end.
True
False
Q.9
The UML notation is useful for graphically depicting an object-oriented analysis or design model.
True
False
Q.10
A derived element is typically shown by placing either a slash (/) or a stereotype of <> before the name of the element.
True
False
Q.11
Multiple inheritance allows a class to inherit features from more than one superclass.
True
False
Q.12
A method defines the form or protocol of the operation, but not its implementation.
True
False
Q.13
A class is a concept, abstraction, or thing that makes sense in an application context.
True
False
Q.14
In UML, a class is represented by a rectangle with three compartments separated by vertical lines.
True
False
Q.15
When a business rule involves three or more graphical symbols, you can show the constraint as a note and attach the note to each of the symbols by a dashed line.
True
False
Q.16
The benefits of object-oriented modeling are which of the following?
The ability to tackle more challenging problems
Reusability of analysis, design, and programming results
Improved communication between users, analysts, etc.
All of the above
Q.17
The term Incomplete for a UML has the same meaning as which of the following for an EER diagram?
Overlapping rule
Disjoint rule
Total specialization rule
Partial specialization rule
Q.18
A constructor operation does which of the following?
Creates a new instance of a class
Updates an existing instance of a class
Deletes and existing instance of a class
All of the above
Q.19
Which of the following is a technique for hiding the internal implementation details of an object?
Encapsulation
Polymorphism
Inheritance
All of the above
Q.20
Aggregation is which of the following?
Expresses a part-of relationship and is a stronger form of an association relationship.
Expresses a part-of relationship and is a weaker form of an association relationship.
Expresses an is-a relationship and is a stronger form of an association relationship.
Expresses an is-a relationship and is a weaker form of an association relationship.
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page