Quiz 5: CH5 Functions assesses understanding of fundamental programming concepts related to functions. It covers function outputs, validity of function calls, and properties of function prototypes. Essential for learners aiming to master basic to intermediate programming skills.
B9
6
9
B
Rate this question:
The formal parameters listed in a function header, must include each parameter’s data type and name.
The names of the formal parameters in the function header must be the same to the names of the actual arguments in the function call.
The sequence of parameters in the function call and parameters in the function header must be the same.
The function of a void function can be called in the numerical expression.
Rate this question:
Test(2, 4, 5);
Test(x, y, z);
Test (d, 4, f);
Test (7, 14, c);
Rate this question:
Char
Int
Float
Double
Rate this question:
Example (int x, int y, float z);
Example (x, y, z);
A = Example (int x, int y, float z);
A = Example (x, y, z);
Rate this question:
Void CalculateBalance (int);
Int CalculateBalance (void);
Void CalculateBalance (int, int);
Int CalculateBalance (int, int);
Rate this question:
3 7 2 K
3 10 2 K
3 4 2 'K'
3 7 2 T
Rate this question:
Char
Int
Float
Double
Rate this question:
Cout
Cout
Cout
Cout
Rate this question:
3 3 3 20
3 3 10 20
10 20 3 3
3 20 3 3
Rate this question:
Quiz Review Timeline (Updated): Oct 6, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.