Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A measure of the strength of the connection between two functions is
A:
cohesion
B:
coupling
C:
dependence
D:
subjection
Answer: B
No answer description is available. Let's discuss.
You can use the C++ _____ function to assign a value to a String variable
A:
assign
B:
copy
C:
string
D:
strcopy
Answer: E
No answer description is available. Let's discuss.
If a class will serve as a base class, most often the base class data members are
A:
private
B:
protected
C:
public
D:
polymorphic
Answer: C
No answer description is available. Let's discuss.
The arguments that determine the state of the cout object are called
A:
classes
B:
manipulators
C:
format flags or state flags
D:
state controllers
Answer: C
No answer description is available. Let's discuss.
Which of the following will store the number 320000 as a Float number?
A:
counPop = (float) 3.2e5;
B:
counPop = (float) 3.2e6;
C:
counPop = (float) .32e5;
D:
counPop = (float) .32e7;
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz