Computer Science - Object Oriented Programming Using C++
Exercise :: Object Oriented Programming Using C++ - Section 11
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:
|
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 D
Explanation:
|
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 B
Explanation:
|
4. |
Assume that a program includes the short *agePtr = NULL; statement. The name of the pointer is _____ |
Answer: Option B
Explanation:
|
5. |
Which of the following are never inherited? |
A. |
public data members | B. |
constructor functions | C. |
void functions | D. |
overloaded + operators |
Answer: Option B
Explanation:
|