Deck 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists

ملء الشاشة (f)
exit full mode
سؤال
What is the general syntax to declare a pointer variable?
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The value of a pointer variable is always a(n) ____________________.
سؤال
The address of operator is a binary operator.
سؤال
There is no name associated with pointer data types.
سؤال
What is the purpose of the member access operator arrow?
سؤال
Write an equivalent statement to the following: studentPtr->gpa = 3.9;
سؤال
Variables that are created during program execution are called ____________________ variables.
سؤال
Any integer can be assigned to a pointer variable.
سؤال
List the operations that can be performed on pointer variables.
سؤال
If p is a pointer of type int, what is the result of the statement p++;
سؤال
The arithmetic operations that are allowed on pointer variables differ from those allowed on numbers.
سؤال
To create a dynamic array, you use the second form of the ____________________ operator.
سؤال
What is meant by a shallow copy?
سؤال
Dynamic memory must be deallocated with the operator ____________________.
سؤال
C++ provides default member-wise initialization of objects that are initialized with the value of an existing object with the ____________________.
سؤال
In dynamic binding, the necessary code to call a specific function is generated by the compiler.
سؤال
What does these terms refer to:

- \gg Abstract class:
سؤال
What does these terms refer to:

- \gg Address of operator (&):
سؤال
What does these terms refer to:

- \gg Compile-time binding (static binding, early binding):
سؤال
What does these terms refer to:

- \gg Copy constructor:
سؤال
What does these terms refer to:

- \gg Dangling pointers:
سؤال
What does these terms refer to:

- \gg Deep copy:
سؤال
What does these terms refer to:

- \gg Dereferencing operator (indirection operator):
سؤال
What does these terms refer to:

- \gg Dynamic array:
سؤال
What does these terms refer to:

- \gg Dynamic variables:
سؤال
What does these terms refer to:

- \gg List:
سؤال
What does these terms refer to:

- \gg Length:
سؤال
What does these terms refer to:

- \gg Member access operator arrow (->):
سؤال
What does these terms refer to:

- \gg Memory leak:
سؤال
What does these terms refer to:

- \gg Null pointer:
سؤال
What does these terms refer to:

- \gg Ordered list:
سؤال
What does these terms refer to:

- \gg Ordered set:
سؤال
What does these terms refer to:

- \gg Pointer variable:
سؤال
What does these terms refer to:

- \gg Pure virtual functions:
سؤال
What does these terms refer to:

- \gg Run-time binding (dynamic binding, late binding):
سؤال
What does these terms refer to:

- \gg Shallow copy:
سؤال
What does these terms refer to:

- \gg Unordered list:
سؤال
What does these terms refer to:

- \gg Unordered set:
سؤال
What does these terms refer to:

- \gg Virtual destructor:
سؤال
What does these terms refer to:

- \gg Virtual functions:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/40
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists
1
What is the general syntax to declare a pointer variable?
dataType *identifier;
2
The value of a pointer variable is always a(n) ____________________.
memory address
3
The address of operator is a binary operator.
False
4
There is no name associated with pointer data types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
5
What is the purpose of the member access operator arrow?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
6
Write an equivalent statement to the following: studentPtr->gpa = 3.9;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
7
Variables that are created during program execution are called ____________________ variables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
8
Any integer can be assigned to a pointer variable.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
9
List the operations that can be performed on pointer variables.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
10
If p is a pointer of type int, what is the result of the statement p++;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
11
The arithmetic operations that are allowed on pointer variables differ from those allowed on numbers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
12
To create a dynamic array, you use the second form of the ____________________ operator.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
13
What is meant by a shallow copy?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
14
Dynamic memory must be deallocated with the operator ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
15
C++ provides default member-wise initialization of objects that are initialized with the value of an existing object with the ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
16
In dynamic binding, the necessary code to call a specific function is generated by the compiler.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
17
What does these terms refer to:

- \gg Abstract class:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
18
What does these terms refer to:

- \gg Address of operator (&):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
19
What does these terms refer to:

- \gg Compile-time binding (static binding, early binding):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
20
What does these terms refer to:

- \gg Copy constructor:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
21
What does these terms refer to:

- \gg Dangling pointers:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
22
What does these terms refer to:

- \gg Deep copy:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
23
What does these terms refer to:

- \gg Dereferencing operator (indirection operator):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
24
What does these terms refer to:

- \gg Dynamic array:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
25
What does these terms refer to:

- \gg Dynamic variables:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
26
What does these terms refer to:

- \gg List:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
27
What does these terms refer to:

- \gg Length:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
28
What does these terms refer to:

- \gg Member access operator arrow (->):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
29
What does these terms refer to:

- \gg Memory leak:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
30
What does these terms refer to:

- \gg Null pointer:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
31
What does these terms refer to:

- \gg Ordered list:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
32
What does these terms refer to:

- \gg Ordered set:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
33
What does these terms refer to:

- \gg Pointer variable:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
34
What does these terms refer to:

- \gg Pure virtual functions:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
35
What does these terms refer to:

- \gg Run-time binding (dynamic binding, late binding):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
36
What does these terms refer to:

- \gg Shallow copy:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
37
What does these terms refer to:

- \gg Unordered list:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
38
What does these terms refer to:

- \gg Unordered set:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
39
What does these terms refer to:

- \gg Virtual destructor:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
40
What does these terms refer to:

- \gg Virtual functions:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 40 في هذه المجموعة.