Computer Science - Object Oriented Programming Using C++
|
|
|
|
Exercise"Actions speak louder than words."
- (Proverb)
|
| 1. |
A function whose purpose is to send messages to other functions is known as a _____ |
| A. |
dispatcher | B. |
courier | | C. |
messenger | D. |
sender |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 2. |
With commercial classes, the function source code is usually________ |
| A. |
printed on high-quality paper | | B. |
poorly written | | C. |
provided on a disk | | D. |
provided in object form |
Answer: Option B
Explanation:
No answer description available for this question. Let us discuss.
|
| 3. |
The type of value that a function sends back to the function that calls it is known as its _____ |
| A. |
type | | B. |
return value | | C. |
reference data | | D. |
sentinel |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 4. |
Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____ |
Answer: Option D
Explanation:
No answer description available for this question. Let us discuss.
|
| 5. |
Which of the following are never inherited? |
| A. |
public data members | | B. |
constructor functions | | C. |
void functions | | D. |
overloaded + operators |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
|
|