Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

The int type of constants are whole numbers in the range
A:
- 23677 to 23678
B:
- 32768 to 32767
C:
- 32767 to 32768
D:
- 32864 to 32865
Answer: B
No answer description is available. Let's discuss.
When you create a derived class and instantiate on object
A:
the parent class object must be constructed first
B:
the child class object must be constructed first
C:
the parent class object must not be constructed
D:
the child class object must not be constructed
Answer: A
No answer description is available. Let's discuss.
Which of the following pairs of identifier name(s) are(is) considered to be identical?
A:
name, names
B:
smith, johnsmith
C:
identifier 1, identifier_2
D:
charl, char_l
Answer: C
No answer description is available. Let's discuss.
A function that changes an object's state belongs to the category of
A:
inspector functions
B:
mutator functions
C:
auxiliary functions
D:
manager functions
Answer: B
No answer description is available. Let's discuss.
If the description of function is "input the quantity, validate that the quantity is greater than 1, subtract 1 from the quantity, and print the quantity," the function is
A:
sequentially cohesive
B:
logically cohesive
C:
communicationally cohesive
D:
functionally cohesive
Answer: B
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz