Computer Science - Object Oriented Programming Using C++

1.
Variables that are declared in a block are known as _____ variables to that block
confined
local
global
immediate
Answer: Option
Explanation:
No answer description is available. Let's discuss.

2.
The pow and sqrt functions return a(n) _____ type number
double
float
integer
long
short
Answer: Option
Explanation:
No answer description is available. Let's discuss.

3.
Declaring variables is advantageous because it
avoids errors from misspelled variable names {b) helps the linker work efficiently
simplifies the writing of very short programs
All of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

4.
The generic name used for unexpected errors that occur during the execution of a program is
infractions
exceptions
deviations
anomalies
Answer: Option
Explanation:
No answer description is available. Let's discuss.

5.
You add the desired type to a specific template class instantiation by placing the type's name ______
between angle brackets
in parentheses
on a line by itself
immediately prior to the class name
Answer: Option
Explanation:
No answer description is available. Let's discuss.