Deck 14: Object-Oriented Programming

ملء الشاشة (f)
exit full mode
سؤال
Procedures,typically,operate on data items that are within the procedure.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which method is called automatically when an object is created?

A)design
B)public
C)private
D)constructor
E)None of the above
سؤال
The variables,arrays,or other data structures that are stored in the object are known as the object's __________.

A)Records
B)Methods
C)Addresses
D)Fields
E)None of the above
سؤال
________________________ is a standard way of drawing diagrams that describe object-oriented systems.

A)Data flow diagram
B)UML
C)flowchart
D)Hierarchy chart
E)None of the above
سؤال
The programmer determines the fields and methods of an object and creates the ______ code.

A)Print
B)Class
C)Module
D)Procedure
E)None of the above
سؤال
In a UML diagram what character do you place in front of a field of method name to indicate it is public?

A)+
B)=
C)P
D)-
E)None of the above
سؤال
Which of the following tasks are performed by a procedure?

A)Reading a file
B)Gathering input
C)Displaying output
D)All of the above
E)None of the above
سؤال
Which of the following are contained in a UML diagram for a class?

A)Class name
B)Class fields
C)Class methods
D)All of the above
E)None of the above
سؤال
What type of programming encapsulates data and functions together in an object?

A)Object-oriented
B)Interactive
C)Procedural
D)Menu-driven
E)None of the above
سؤال
What type of programming is centered on the procedures or actions that take place in a program?

A)Object-oriented
B)Interactive
C)Procedural
D)Menu-driven
E)None of the above
سؤال
____________________ allows a new class to extend an existing class.

A)successor
B)accessor
C)inheritance
D)public
E)None of the above
سؤال
The procedures that the object performs are known as ____________.

A)Records
B)Methods
C)Addresses
D)fields
E)None of the above
سؤال
_______________ is another name for accessor methods.

A)getters
B)accessors
C)setters
D)private
E)None of the above
سؤال
The class _________ starts with the word Class followed by the name of the class.

A)body
B)definition
C)return
D)members
E)None of the above
سؤال
The word Private that appears before a field declaration,in a class definition,is known as a(n)____________.

A)access specifier
B)specifier
C)Class specifier
D)Inside specifier
E)None of the above
سؤال
The mutator methods are sometimes called _________________.

A)getters
B)accessors
C)setters
D)private
E)None of the above
سؤال
What allows you to create methods with the same name in different classes and gives you the ability to call the correct method depending on the type of object that is used to call it?

A)Constructor
B)Inheritance
C)Accessor
D)Polymorphism
E)None of the above
سؤال
The act of declaring a class variable does not actually create an object in memory.
سؤال
What software entity contains both data and procedures?

A)Objects
B)Instances
C)Events
D)Memory location(s)
E)None of the above
سؤال
What is the term used for the fields and methods that belong to a class?

A)body
B)definition
C)return
D)members
E)None of the above
سؤال
When a class variable is assigned the address of an object,it is said that the variable references the object.
سؤال
The methods that can be accessed by entities outside the object are known as _________ methods.
سؤال
When a superclass method has the same name as a subclass method,it is often said that the superclass method overrides the subclass method.
سؤال
A method that gets a value from a class's field but does not change it is known as a(n)____________ method.
سؤال
The object's ___________ are the modules and functions of the object.
سؤال
In an inheritance relationship,the superclass inherits members from the subclass,not the other way around.
سؤال
The separation of data and the code that operates on the data can lead to problems as a program becomes larger and more complex.
سؤال
A ________ is the 'blueprint' of the object that is created from it.
سؤال
External entities do not have direct access to the object's private methods.
سؤال
When an object's internal data is hidden from outside code and access to the data is restricted to the object's methods,the data is protected from accidental corruption.
سؤال
___________ are created from abstract data types that encapsulate data and functions together.
سؤال
The key word ___________ creates the object in memory.
سؤال
If a constructor is not written when the class is compiled,then a constructor is automatically provided and it is known as the default constructor.
سؤال
______________ refers to the combining of data and code into a single object.
سؤال
The private object fields can be directly manipulated by outside entities.
سؤال
There are primarily three methods of programming in use today: procedural,recursive,and object-oriented.
سؤال
The data contained in an object are known as the object's __________.
سؤال
____________ refers to an object's ability to hide its data from code that is outside the object.
سؤال
____________ programming is a method of writing software where it is centered on the procedures or actions that take place in a program.
سؤال
When the program is running,it can use the class to create,in memory,one object of a specific type as needed.
سؤال
A __________ is code that specifies the fields and methods for a particular type of object.
سؤال
The methods in an object that are used to initialize an object's fields with starting values are called ________________.
سؤال
Each object that is created from a class is called a(n)_________ of the class.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/43
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 14: Object-Oriented Programming
1
Procedures,typically,operate on data items that are within the procedure.
False
2
Which method is called automatically when an object is created?

A)design
B)public
C)private
D)constructor
E)None of the above
D
3
The variables,arrays,or other data structures that are stored in the object are known as the object's __________.

A)Records
B)Methods
C)Addresses
D)Fields
E)None of the above
D
4
________________________ is a standard way of drawing diagrams that describe object-oriented systems.

A)Data flow diagram
B)UML
C)flowchart
D)Hierarchy chart
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
5
The programmer determines the fields and methods of an object and creates the ______ code.

A)Print
B)Class
C)Module
D)Procedure
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
6
In a UML diagram what character do you place in front of a field of method name to indicate it is public?

A)+
B)=
C)P
D)-
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following tasks are performed by a procedure?

A)Reading a file
B)Gathering input
C)Displaying output
D)All of the above
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following are contained in a UML diagram for a class?

A)Class name
B)Class fields
C)Class methods
D)All of the above
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
9
What type of programming encapsulates data and functions together in an object?

A)Object-oriented
B)Interactive
C)Procedural
D)Menu-driven
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
10
What type of programming is centered on the procedures or actions that take place in a program?

A)Object-oriented
B)Interactive
C)Procedural
D)Menu-driven
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
11
____________________ allows a new class to extend an existing class.

A)successor
B)accessor
C)inheritance
D)public
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
12
The procedures that the object performs are known as ____________.

A)Records
B)Methods
C)Addresses
D)fields
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
13
_______________ is another name for accessor methods.

A)getters
B)accessors
C)setters
D)private
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
14
The class _________ starts with the word Class followed by the name of the class.

A)body
B)definition
C)return
D)members
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
15
The word Private that appears before a field declaration,in a class definition,is known as a(n)____________.

A)access specifier
B)specifier
C)Class specifier
D)Inside specifier
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
16
The mutator methods are sometimes called _________________.

A)getters
B)accessors
C)setters
D)private
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
17
What allows you to create methods with the same name in different classes and gives you the ability to call the correct method depending on the type of object that is used to call it?

A)Constructor
B)Inheritance
C)Accessor
D)Polymorphism
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
18
The act of declaring a class variable does not actually create an object in memory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
19
What software entity contains both data and procedures?

A)Objects
B)Instances
C)Events
D)Memory location(s)
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
20
What is the term used for the fields and methods that belong to a class?

A)body
B)definition
C)return
D)members
E)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
21
When a class variable is assigned the address of an object,it is said that the variable references the object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
22
The methods that can be accessed by entities outside the object are known as _________ methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
23
When a superclass method has the same name as a subclass method,it is often said that the superclass method overrides the subclass method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
24
A method that gets a value from a class's field but does not change it is known as a(n)____________ method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
25
The object's ___________ are the modules and functions of the object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
26
In an inheritance relationship,the superclass inherits members from the subclass,not the other way around.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
27
The separation of data and the code that operates on the data can lead to problems as a program becomes larger and more complex.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
28
A ________ is the 'blueprint' of the object that is created from it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
29
External entities do not have direct access to the object's private methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
30
When an object's internal data is hidden from outside code and access to the data is restricted to the object's methods,the data is protected from accidental corruption.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
31
___________ are created from abstract data types that encapsulate data and functions together.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
32
The key word ___________ creates the object in memory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
33
If a constructor is not written when the class is compiled,then a constructor is automatically provided and it is known as the default constructor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
34
______________ refers to the combining of data and code into a single object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
35
The private object fields can be directly manipulated by outside entities.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
36
There are primarily three methods of programming in use today: procedural,recursive,and object-oriented.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
37
The data contained in an object are known as the object's __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
38
____________ refers to an object's ability to hide its data from code that is outside the object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
39
____________ programming is a method of writing software where it is centered on the procedures or actions that take place in a program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
40
When the program is running,it can use the class to create,in memory,one object of a specific type as needed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
41
A __________ is code that specifies the fields and methods for a particular type of object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
42
The methods in an object that are used to initialize an object's fields with starting values are called ________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
43
Each object that is created from a class is called a(n)_________ of the class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 43 في هذه المجموعة.