Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

_____ refers to the process of locating and removing the errors in a program
A:
Analyzing
B:
Correcting
C:
Debugging
D:
Executing
Answer: C
No answer description is available. Let's discuss.
When a new class is derived from an existing class, the derived class member functions _____ have names that differ from base class function names
A:
may
B:
may if the two classes have the same name
C:
must
D:
must not
Answer: A
No answer description is available. Let's discuss.
Which loop always processes its instructions at least once?
A:
do-while
B:
for
C:
while
D:
Answer: A
No answer description is available. Let's discuss.
Which of the following will increase the value stored in the first element of the fee array by 2?
A:
amount[0] = amount[0] + 2;
B:
amount, fee[0] = amount, fee [0] + 2;
C:
feelnfo.amount[0] = feelnfo.amount[0] + 2;
D:
fee[0].amount = fee[0].amount + 2;
Answer: D
No answer description is available. Let's discuss.
One of the valid escape sequences used in the C language is
A:
\z
B:
\N
C:
\t
D:
\s
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz