Computer Science - Object Oriented Programming Using C++

26.
If you create an instantiation of a class template with an int, and then create a second instantiation with a double, then
you must precede each function call with the word int or double
once a function is used as one type, it becomes unavailable for use with the other type
there is no difference in the procedure to call a member function
you cannot perform this operation in C++
Answer: Option
Explanation:
No answer description is available. Let's discuss.

27.
The step-by-step instructions that solve a problem are called _____
an algorithm
a list
a plan
a sequential structure
Answer: Option
Explanation:
No answer description is available. Let's discuss.

28.
The type to be used in an instantiation of a class template follows ________
the generic class name
the keyword template
the keyword class
the template definition
Answer: Option
Explanation:
No answer description is available. Let's discuss.

29.
Which of the following statements allows the user to enter data at the keyboard?
cin << currentPay;
cin >> currentPay;
cout << currentPay;
cout >> currentPay;
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

30.
When you pass a variable _____, C++ passes only the contents of the variable to the receiving function
by reference
by value
globally
locally
Answer: Option
Explanation:
No answer description is available. Let's discuss.