Deck 6: User-Defined Functions

ملء الشاشة (f)
exit full mode
سؤال
How many parameters are in the C++ predefined function pow?
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The C++ function sqrt is of type ____________________.
سؤال
To use predefined functions in a program, you must include the ____________________ that includes the function specification.
سؤال
The C++ function toupper returns a(n) ____________________ value.
سؤال
A value-returning function is used (called) in a(n) ____________________.
سؤال
void functions do not have a return type.
سؤال
The code required to accomplish a function's task is called the ____________________ of the function.
سؤال
An actual parameter is a variable declared in the function heading.
سؤال
What is a local declaration?
سؤال
When a return statement executes in a function, the function immediately terminates and the control goes back to the caller.
سؤال
A return statement must be the last statement in a function.
سؤال
A(n) ____________________ is a function heading without the body of the function.
سؤال
What is the syntax of a void function header?
سؤال
What is the syntax of a void function call?
سؤال
No information can be passed in and out of void functions without parameters.
سؤال
A(n) ____________________ identifier is declared outside of every function definition.
سؤال
Define the scope of an identifier.
سؤال
The scope of a function name is the same as the scope of a global identifier.
سؤال
What does these terms refer to:

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

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

- \gg Body (of a function):
سؤال
What does these terms refer to:

- \gg Data type (of a function):
سؤال
What does these terms refer to:

- \gg Definition (of a function):
سؤال
What does these terms refer to:

- \gg Different formal parameter lists:
سؤال
What does these terms refer to:

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

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

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

- \gg Function header (heading):
سؤال
What does these terms refer to:

- \gg Function overloading (overloading a function name):
سؤال
What does these terms refer to:

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

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

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

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

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

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

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

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

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

- \gg Return type (of a function):
سؤال
What does these terms refer to:

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

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

- \gg Signature (of a function):
سؤال
What does these terms refer to:

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

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

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

- \gg Value-returning functions:
سؤال
What does these terms refer to:

- \gg Void functions:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/47
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 6: User-Defined Functions
1
How many parameters are in the C++ predefined function pow?
two
2
The C++ function sqrt is of type ____________________.
double
3
To use predefined functions in a program, you must include the ____________________ that includes the function specification.
header file
4
The C++ function toupper returns a(n) ____________________ value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
5
A value-returning function is used (called) in a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
6
void functions do not have a return type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
7
The code required to accomplish a function's task is called the ____________________ of the function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
8
An actual parameter is a variable declared in the function heading.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
9
What is a local declaration?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
10
When a return statement executes in a function, the function immediately terminates and the control goes back to the caller.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
11
A return statement must be the last statement in a function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
12
A(n) ____________________ is a function heading without the body of the function.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
13
What is the syntax of a void function header?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
14
What is the syntax of a void function call?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
15
No information can be passed in and out of void functions without parameters.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
16
A(n) ____________________ identifier is declared outside of every function definition.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
17
Define the scope of an identifier.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
18
The scope of a function name is the same as the scope of a global identifier.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
19
What does these terms refer to:

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

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

- \gg Body (of a function):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
22
What does these terms refer to:

- \gg Data type (of a function):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
23
What does these terms refer to:

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

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

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

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

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

- \gg Function header (heading):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
29
What does these terms refer to:

- \gg Function overloading (overloading a function name):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
30
What does these terms refer to:

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

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

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

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

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

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

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

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

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

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

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

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

- \gg Signature (of a function):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 47 في هذه المجموعة.
فتح الحزمة
k this deck
43
What does these terms refer to:

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

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

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

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

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