Deck 7: Understanding More Complex Requirements Models With Generalizationspecialization and Whole-Part Hierarchies
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/27
العب
ملء الشاشة (f)
Deck 7: Understanding More Complex Requirements Models With Generalizationspecialization and Whole-Part Hierarchies
1
The generalization/specialization hierarchy can lead to implementation problems if not composed of relatively stable or __________ classes.
Constant
2
Which of the following is NOT true concerning generalization/specialization hierarchies?
A) A class might inherit attributes and methods from multiple classes.
B) They show a hierarchy of classes and subclasses that lead from the general to the specific.
C) They show a hierarchy of classes representing a collection of parts.
D) A class mighty inherit attributes and methods from an abstract class.
A) A class might inherit attributes and methods from multiple classes.
B) They show a hierarchy of classes and subclasses that lead from the general to the specific.
C) They show a hierarchy of classes representing a collection of parts.
D) A class mighty inherit attributes and methods from an abstract class.
C
3
Which of the following is TRUE concerning generalization/specialization hierarchies?
A) They show a hierarchy of classes representing a collection of parts.
B) They show a hierarchy of classes and subclasses that lead from the general to the specific.
C) They might be defined as a "contains" relationship.
D) They might be defined as a "includes" relationship.
A) They show a hierarchy of classes representing a collection of parts.
B) They show a hierarchy of classes and subclasses that lead from the general to the specific.
C) They might be defined as a "contains" relationship.
D) They might be defined as a "includes" relationship.
B
4
Which of the following is NOT true concerning whole-part hierarchies?
A) They might be defined as a "includes" relationship.
B) They might be defined as a "contains" relationship.
C) They include particularly strong relationships.
D) They might be defined as a "is-a" relationship.
A) They might be defined as a "includes" relationship.
B) They might be defined as a "contains" relationship.
C) They include particularly strong relationships.
D) They might be defined as a "is-a" relationship.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
5
The symbol for a whole-part relationship is a _______________?
A) diamond on the line connecting the two classes
B) hollow circle on the line connecting the two classes
C) filled circle on the line connecting the two classes
D) triangle on the line connecting the two classes
A) diamond on the line connecting the two classes
B) hollow circle on the line connecting the two classes
C) filled circle on the line connecting the two classes
D) triangle on the line connecting the two classes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
6
Defining a(n) __________ relationship in a class diagram can increase the clarity and precision of the model.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
7
The generalization/specialization hierarchy works best when an object in a special class will always remain a __________ of that class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
8
A(n) ___________ hierarchy shows object relationships between an object in one class and objects in other classes that make up its "parts".
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
9
The terms aggregation and composition are used for __________ relationships in UML.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
10
The generalization/ specialization hierarchy shows a hierarchy of classes and subclasses that lead from the __________ to the __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
11
A(n) __________ hierarchy allows one class to inherit attributes and methods from another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
12
A(n) __________ class exists only to allow subclasses to inherit from it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following is NOT described by scenarios?
A) User's interaction with the system
B) Use cases
C) Events that occur in the system
D) class diagrams
A) User's interaction with the system
B) Use cases
C) Events that occur in the system
D) class diagrams
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
14
Use cases and scenarios can be used to clarify system requirements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following is TRUE concerning whole-part hierarchies?
A) They include particularly strong relationships.
B) They are organized into superclasses and subclasses.
C) They define an inheritance relationship.
D) They are defined by what they do not contain.
A) They include particularly strong relationships.
B) They are organized into superclasses and subclasses.
C) They define an inheritance relationship.
D) They are defined by what they do not contain.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
16
A whole-part hierarchy allows one class to inherit attributes and methods from another.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
17
A generalization hierarchy shows object relationships between an object in one class and objects in other classes that make up its "parts".
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
18
A _______ on the line indicates a whole-part relationship.
A) triangle
B) square
C) circle
D) diamond
A) triangle
B) square
C) circle
D) diamond
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
19
_________________ occurs when the objects in a class inherit attributes and services form multiple classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
20
A possible solution to problems introduced in multiple inheritance would be to model the classes according to the ___________ they play.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
21
Sometimes a general class includes objects and is also specialized into subclasses that also include objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
22
An important aspect of the object-oriented approach is the process of organizing the information system into a set of hierarchies.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
23
A problem with generalization hierarchies is that they tend to increase redundancy in the model.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
24
In multiple inheritance, it is preferred to be able to trace superclasses back up the hierarchy to a common class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
25
Multiple inheritance occurs when objects in the class inherit attributes and services from multiple classes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
26
Several object- oriented programming languages do not allow multiple inheritance.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck
27
A relationship can be optional.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 27 في هذه المجموعة.
فتح الحزمة
k this deck