Computer Science - Object Oriented Programming Using C++

11.
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
sequentially cohesive
logically cohesive
communicationally cohesive
functionally cohesive
Answer: Option
Explanation:
No answer description is available. Let's discuss.

12.
A function that changes an object's state belongs to the category of
inspector functions
mutator functions
auxiliary functions
manager functions
Answer: Option
Explanation:
No answer description is available. Let's discuss.

13.
Which of the following pairs of identifier name(s) are(is) considered to be identical?
name, names
smith, johnsmith
identifier 1, identifier_2
charl, char_l
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

14.
When you create a derived class and instantiate on object
the parent class object must be constructed first
the child class object must be constructed first
the parent class object must not be constructed
the child class object must not be constructed
Answer: Option
Explanation:
No answer description is available. Let's discuss.

15.
The int type of constants are whole numbers in the range
- 23677 to 23678
- 32768 to 32767
- 32767 to 32768
- 32864 to 32865
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.