Deck 7: Object-Oriented Concepts

ملء الشاشة (f)
exit full mode
سؤال
A ____ is a term that describes objects with common attributes.

A)relationship
C)class
B)case
D)method
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Object attributes are often called ____ to help distinguish them from other variables you might use.

A)constructors
C)fields
B)instances
D)records
سؤال
The set of all the values or contents of a class object's instance variables is also known as its ____.

A)classification
C)group
B)state
D)core
سؤال
With object-oriented programming, once you create an object, you can develop new objects that possess all the traits of the original object, plus any new traits you desire.
سؤال
The purpose of set methods is to set the values of data fields within the class.
سؤال
Creating multiple methods with the same name, which will act differently and appropriately when used with different types of objects, is known as polymorphism.
سؤال
With well-written methods that belong to classes you use, you need not understand how they work internally to be able to use them.
سؤال
____ is the process of acquiring the traits of one's predecessors.

A)Heritage
C)Inheritance
B)Legacy
D)Encapsulation
سؤال
A program or class that instantiates methods of another prewritten class is a class client or class user.
سؤال
A class can contain another class's objects as data members.
سؤال
A this reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called.
سؤال
Declaring a class creates actual objects.
سؤال
A(n) ____ is one instance of a class.

A)method
C)instantiation
B)object
D)attribute
سؤال
The data components of a class that belong to every instantiated object are the class's ____ variables.

A)instance
C)functional
B)initial
D)method
سؤال
When you think in an object-oriented manner, everything is an object, and every object is a member of a method.
سؤال
A program or class that instantiates objects of another prewritten class is a class client or ____.

A)client user
C)class id
B)client id
D)class user
سؤال
Everything is an object, and every object is a member of a ____.

A)class
C)case
B)method
D)process
سؤال
In addition to their attributes, class objects have methods associated with them, and every object that is an instance of a class possesses the same methods.
سؤال
____ is the concept that other classes should not alter an object's attributes-only the methods of an object's own class should have that privilege.

A)Information hiding
C)Data holding
B)Information holding
D)Static data
سؤال
The concept of a class is useful because of its ____.

A)usability
C)functionality
B)interchangeability
D)reusability
سؤال
When you write object-oriented programs, an object is a(n) ____________________ of a class.
سؤال
The process of combining all of an object's attributes and methods into a single package is called ____________________.
سؤال
When using ____, you can develop new classes more quickly by extending existing classes that already work.

A)inheritance
C)encapsulation
B)polymorphism
D)construction
سؤال
The relationship created when using a class object within another class object is also called a(n) ____ relationship.

A)was-is
C)has-a
B)has-is
D)is-a
سؤال
An ____ is the adjective that defines the type of access that outside classes will have to the attribute or method.

A)attribute definer
C)access definer
B)attribute specifier
D)access specifier
سؤال
Using a class object within another class object is known as ____.

A)nesting
C)building
B)circular referencing
D)composition
سؤال
Programmers often use a ____ to illustrate class features or to help plan them.

A)class diagram
C)class illustration
B)polymorphic diagram
D)flowchart
سؤال
Object-oriented programmers usually specify that their data fields will have ____ access.

A)limited
C)private
B)transparent
D)public
سؤال
A ____ reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called.

A)key
C)that
B)public
D)this
سؤال
A ____ is a set of program statements that tells you the characteristics of the class's objects and the methods that can be applied to its objects.

A)class set
C)class identification
B)class definition
D)class group
سؤال
A ____ is an environment in which you can create programs by dragging components such as buttons and labels onto a screen and arranging them visually.

A)visual development environment
C)visual design environment
B)virtual development environment
D)virtual design environment
سؤال
____________________ is the process of acquiring the traits of one's predecessors.
سؤال
A class diagram consists of a ____ divided into three sections.

A)square
C)circle
B)rectangle
D)triangle
سؤال
All objects have ____________________, which are the characteristics that define them as part of a particular class.
سؤال
A(n) ____________________ is a category of things.
سؤال
A(n) ____ method operates appropriately for each separate instance of a class.

A)instance
C)object
B)starter
D)defining
سؤال
In class diagrams, a ____ sign precedes the items that are private.

A)plus
C)colon
B)semicolon
D)minus
سؤال
The ability to use methods without knowing the details of their contents is a feature of ____.

A)abstraction
C)inheritance
B)encapsulation
D)construction
سؤال
Class diagrams are a type of ____ diagram.

A)Unified Illustration Language
C)Object-Oriented Modeling Language
B)Unified Modeling Language
D)Unified Pseudocode Language
سؤال
A(n) ____ is just an abstract description of what an object will be like if any objects are ever actually instantiated.

A)class
C)identifier
B)object
D)entity
سؤال
In older object-oriented programming languages, ____________________ data types, such as numbers and characters, are distinguished from objects that are class types.
سؤال
The term ____________________ implies that a type's data can be accessed only through methods.
سؤال
The purpose of a(n) ____________________ method is to return a value to the world outside the class.
سؤال
No values need to be passed into a(n) ____________________ method, and no value is returned from it because this method does not communicate with the outside world.
سؤال
A(n) ____________________ method is another name for a set method.
سؤال
____________________ methods do not have this references, and do not need objects to exist to be called.
سؤال
____________________ are collections of classes that serve related purposes.
سؤال
Most object-oriented programmers usually specify object data fields to have ____________________ access.
سؤال
Every class must have a(n) ____________________, and can optionally contain data and methods.
سؤال
By convention, a(n) ____________________ lists the names of the data items first, followed by a colon and their data type.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 7: Object-Oriented Concepts
1
A ____ is a term that describes objects with common attributes.

A)relationship
C)class
B)case
D)method
C
2
Object attributes are often called ____ to help distinguish them from other variables you might use.

A)constructors
C)fields
B)instances
D)records
C
3
The set of all the values or contents of a class object's instance variables is also known as its ____.

A)classification
C)group
B)state
D)core
B
4
With object-oriented programming, once you create an object, you can develop new objects that possess all the traits of the original object, plus any new traits you desire.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
The purpose of set methods is to set the values of data fields within the class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Creating multiple methods with the same name, which will act differently and appropriately when used with different types of objects, is known as polymorphism.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
With well-written methods that belong to classes you use, you need not understand how they work internally to be able to use them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
____ is the process of acquiring the traits of one's predecessors.

A)Heritage
C)Inheritance
B)Legacy
D)Encapsulation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
A program or class that instantiates methods of another prewritten class is a class client or class user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
A class can contain another class's objects as data members.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
A this reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Declaring a class creates actual objects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
A(n) ____ is one instance of a class.

A)method
C)instantiation
B)object
D)attribute
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
The data components of a class that belong to every instantiated object are the class's ____ variables.

A)instance
C)functional
B)initial
D)method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
When you think in an object-oriented manner, everything is an object, and every object is a member of a method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
A program or class that instantiates objects of another prewritten class is a class client or ____.

A)client user
C)class id
B)client id
D)class user
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
Everything is an object, and every object is a member of a ____.

A)class
C)case
B)method
D)process
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
In addition to their attributes, class objects have methods associated with them, and every object that is an instance of a class possesses the same methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
____ is the concept that other classes should not alter an object's attributes-only the methods of an object's own class should have that privilege.

A)Information hiding
C)Data holding
B)Information holding
D)Static data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The concept of a class is useful because of its ____.

A)usability
C)functionality
B)interchangeability
D)reusability
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
When you write object-oriented programs, an object is a(n) ____________________ of a class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
The process of combining all of an object's attributes and methods into a single package is called ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
When using ____, you can develop new classes more quickly by extending existing classes that already work.

A)inheritance
C)encapsulation
B)polymorphism
D)construction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
The relationship created when using a class object within another class object is also called a(n) ____ relationship.

A)was-is
C)has-a
B)has-is
D)is-a
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
An ____ is the adjective that defines the type of access that outside classes will have to the attribute or method.

A)attribute definer
C)access definer
B)attribute specifier
D)access specifier
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
Using a class object within another class object is known as ____.

A)nesting
C)building
B)circular referencing
D)composition
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
Programmers often use a ____ to illustrate class features or to help plan them.

A)class diagram
C)class illustration
B)polymorphic diagram
D)flowchart
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Object-oriented programmers usually specify that their data fields will have ____ access.

A)limited
C)private
B)transparent
D)public
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
A ____ reference is an automatically created variable that holds the address of an object and passes it to an instance method whenever the method is called.

A)key
C)that
B)public
D)this
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
A ____ is a set of program statements that tells you the characteristics of the class's objects and the methods that can be applied to its objects.

A)class set
C)class identification
B)class definition
D)class group
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
A ____ is an environment in which you can create programs by dragging components such as buttons and labels onto a screen and arranging them visually.

A)visual development environment
C)visual design environment
B)virtual development environment
D)virtual design environment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
____________________ is the process of acquiring the traits of one's predecessors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
A class diagram consists of a ____ divided into three sections.

A)square
C)circle
B)rectangle
D)triangle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
All objects have ____________________, which are the characteristics that define them as part of a particular class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A(n) ____________________ is a category of things.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
A(n) ____ method operates appropriately for each separate instance of a class.

A)instance
C)object
B)starter
D)defining
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
In class diagrams, a ____ sign precedes the items that are private.

A)plus
C)colon
B)semicolon
D)minus
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
The ability to use methods without knowing the details of their contents is a feature of ____.

A)abstraction
C)inheritance
B)encapsulation
D)construction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
Class diagrams are a type of ____ diagram.

A)Unified Illustration Language
C)Object-Oriented Modeling Language
B)Unified Modeling Language
D)Unified Pseudocode Language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
A(n) ____ is just an abstract description of what an object will be like if any objects are ever actually instantiated.

A)class
C)identifier
B)object
D)entity
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
In older object-oriented programming languages, ____________________ data types, such as numbers and characters, are distinguished from objects that are class types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
The term ____________________ implies that a type's data can be accessed only through methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The purpose of a(n) ____________________ method is to return a value to the world outside the class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
No values need to be passed into a(n) ____________________ method, and no value is returned from it because this method does not communicate with the outside world.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
A(n) ____________________ method is another name for a set method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
____________________ methods do not have this references, and do not need objects to exist to be called.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
____________________ are collections of classes that serve related purposes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Most object-oriented programmers usually specify object data fields to have ____________________ access.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
Every class must have a(n) ____________________, and can optionally contain data and methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
By convention, a(n) ____________________ lists the names of the data items first, followed by a colon and their data type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.