Deck 13: Overloading and Templates

ملء الشاشة (f)
exit full mode
سؤال
What is operator overloading?
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The function heading for an operator function uses the reserved word ____________________.
سؤال
The associativity of an operator can be modified in an overloaded operator function.
سؤال
Every object maintains a hidden pointer to itself called the ____________________ pointer.
سؤال
A(n) ____________________ function is a nonmember function that has access to all the public and private variables of a class.
سؤال
Which operator functions cannot be overloaded as friend functions?
سؤال
The stream extraction and stream insertion operators must be overloaded as member functions.
سؤال
The body of an overloaded assignment operator should include self-assignments.
سؤال
C++ simplifies the process of overloading functions by providing ____________________.
سؤال
Class templates are also called ____________________ types.
سؤال
Including multiple constructors of a class is an example of function overloading.
سؤال
A template instantiation can only be created with a built-in type.
سؤال
What does these terms refer to:

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

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

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

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

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

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

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

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

- \gg Template:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/21
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 13: Overloading and Templates
1
What is operator overloading?
Operator overloading allows programmers to extend the definition of most of the built-in operators so that they may be applied to classes.
2
The function heading for an operator function uses the reserved word ____________________.
operator
3
The associativity of an operator can be modified in an overloaded operator function.
False
4
Every object maintains a hidden pointer to itself called the ____________________ pointer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
5
A(n) ____________________ function is a nonmember function that has access to all the public and private variables of a class.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
6
Which operator functions cannot be overloaded as friend functions?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
7
The stream extraction and stream insertion operators must be overloaded as member functions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
8
The body of an overloaded assignment operator should include self-assignments.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
9
C++ simplifies the process of overloading functions by providing ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
10
Class templates are also called ____________________ types.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
11
Including multiple constructors of a class is an example of function overloading.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
12
A template instantiation can only be created with a built-in type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 21 في هذه المجموعة.
فتح الحزمة
k this deck
13
What does these terms refer to:

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

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

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

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

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

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

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

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

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