Computer Science - Object Oriented Programming Using C++

41.
The logical NOT operator represented by is a
unary operator
binary operator
ternary operator
octal operator
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

42.
When variables refer to attributes of an entity (such as name, address, and phone number of a person), those attributes form a _____
file
record
field
program
Answer: Option
Explanation:
No answer description is available. Let's discuss.

43.
A derived class _____ override attributes of a parent class
may
may if the two classes have the same name
must
must not
Answer: Option
Explanation:
No answer description is available. Let's discuss.

44.
Which of the following is false?
You enclose a function's statements in a set of braces
The function header is considered a C++ statement, so it must end in a semicolon.
The keyword void tells the C++ compiler that the function does not return a value
A function can receive information that you send (pass) to it
An empty set of parentheses after the function's name in the function header tells you that the function does not receive any information
Answer: Option
Explanation:
No answer description is available. Let's discuss.

45.
A function's single most important role is to
give a name to a block of code
reduce program size
accept arguments and provide a return value
help organize a program into conceptual units
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.