Computer Science - Object Oriented Programming Using C++
|
|
|
|
Exercise"Weakness of attitude becomes weakness of character."
- Albert Einstein
|
| 1. |
You typically initialize a String variable to _____ |
| A. |
an asterisk | | B. |
a space enclosed in single quotes | | C. |
the number 0 | | D. |
a zero-length string |
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
|
| 2. |
The set of instructions for how to tie a bow is an example of the _____ structure |
| A. |
control | B. |
repetition | | C. |
selection | D. |
sequence | | E. |
switching |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 3. |
If no exception is thrown ________ |
| A. |
a catch block will cause an error | | B. |
the first catch block coded will execute | | C. |
the last catch block coded with execute | | D. |
any catch blocks coded with be bypassed |
Answer: Option B
Explanation:
No answer description available for this question. Let us discuss.
|
| 4. |
A program that predicts the exact sequence in which events will take place is said to be ________ |
| A. |
compiled | B. |
interpreted | | C. |
procedural | D. |
object-oriented |
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
|
| 5. |
A blueprint for creating an object in C++ is called _____ |
| A. |
a class | | B. |
an instance | | C. |
a map | | D. |
a pattern | | E. |
a sketch |
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
|
|
|