Deck 4: Basic Object-Oriented Concepts
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/26
العب
ملء الشاشة (f)
Deck 4: Basic Object-Oriented Concepts
1
Which of the following best describes cardinality?
A) It refers to the number of associations that naturally occur between objects.
B) It can also be called multiplicity.
C) It is the relationships of objects in a system.
D) All of the above.
A) It refers to the number of associations that naturally occur between objects.
B) It can also be called multiplicity.
C) It is the relationships of objects in a system.
D) All of the above.
D
2
A(n) __________ is a specific instance of a class.
object
3
Each object might have a different value for a given attribute.
False
4
The term __________ means something that the object knows how to do.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
5
Collections of custom methods are called __________ __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
6
Objects are never naturally related to other objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
7
__________ means that several items are packaged together into one unit.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
8
The term ___________ literally means "multiple forms".
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
9
A(n) ___________ is an association based on the contest in which we view the objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
10
What is an aggregation relationship?
A) It is a whole-part relationship.
B) It is an association relationship.
C) It is a connection relationship.
D) It is a composition relationship.
A) It is a whole-part relationship.
B) It is an association relationship.
C) It is a connection relationship.
D) It is a composition relationship.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following is TRUE concerning object relationships?
A) They never occur naturally.
B) Cardinality describes the associations between objects.
C) They occur without regard to the context.
D) None of the above.
A) They never occur naturally.
B) Cardinality describes the associations between objects.
C) They occur without regard to the context.
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
12
__________ refers to the number of associations that naturally occur between objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
13
A class is a type of thing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
14
A(n) __________ is the general category that describes a type of thing.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following is TRUE concerning cardinality?
A) It is different from multiplicity.
B) It describes the attributes of a class.
C) It describes natural associations between objects.
D) It describes the capabilities of a class.
A) It is different from multiplicity.
B) It describes the attributes of a class.
C) It describes natural associations between objects.
D) It describes the capabilities of a class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
16
The computer creates a(n) __________ __________ for each object when the object is created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
17
Which of the following is TRUE concerning attributes?
A) They are capabilities of an object.
B) They are are pieces of information known about objects.
C) They are messages an object can send.
D) All of the above.,
A) They are capabilities of an object.
B) They are are pieces of information known about objects.
C) They are messages an object can send.
D) All of the above.,
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which of the following best describes relationships in object-oriented programming?
A) Associations based on system requirements.
B) Associations based on the context with which the object is viewed.
C) Associations based on system diagrams.
D) Associations based on implementation.
A) Associations based on system requirements.
B) Associations based on the context with which the object is viewed.
C) Associations based on system diagrams.
D) Associations based on implementation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
19
A(n) __________ is one piece of information that needs to be know about the objects in the class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
20
An object is the general category and a class is a specific instance.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
21
The term polymorphism literally means "multiple forms".
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
22
Just the method name alone is called the method signature.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
23
Encapsulation allows us to think of the attributes and behaviors of the object as one package.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
24
An object can send a message to another object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
25
The unified modeling language (UML) uses the term aggregation relationship in place of cardinality.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
26
Class libraries are a collection of custom methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck