Computer Science - Object Oriented Programming Using C++
|
|
|
|
Exercise"Act well your part; there all honor lies."
- Alexander Pope
|
| 1. |
When you omit parameters from a function call, values can be provided by |
| A. |
formal parameters | | B. |
reference parameters | | C. |
overloaded parameters | | D. |
default parameters |
Answer: Option B
Explanation:
No answer description available for this question. Let us discuss.
|
| 2. |
The first element in a string is |
| A. |
the name of the string | | B. |
the first character in the string | | C. |
the length of the string | | D. |
the name of the array holding the string |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 3. |
Variables declared outside a block are called _____ |
| A. |
global | B. |
universal | | C. |
stellar | D. |
external |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 4. |
The compiler converts your C++ instructions into _____ |
| A. |
edited code | | B. |
object code | | C. |
source code | | D. |
translated code |
Answer: Option D
Explanation:
No answer description available for this question. Let us discuss.
|
| 5. |
A fundamental type such as int or double is a _____ |
| A. |
programmer-defined type | | B. |
complex type | | C. |
nonscalar type | | D. |
scalar type |
Answer: Option E
Explanation:
No answer description available for this question. Let us discuss.
|
|
|