Computer Science - Object Oriented Programming Using C++

21. 

The items listed in the function header are called _____

A. actual arguments
B. formal parameters
C. passed parameters
D. sent arguments

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

22. 

A translator that notes whether you have used a language correctly may be called a _____

A. theasurus
B. compiler
C. coder
D. decoder

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

23. 

The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is_____

A. inheritance
B. polymorphism
C. overfunctioning
D. overriding

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

24. 

When an argument is passed by reference,

A. a variable is created in the function to hold the argument's value
B. the function cannot access the argument's value
C. a temporary variable is created in the calling program to hold the argument's value
D. the function accesses the argument's original value in the calling program
E. None of the above

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

25. 

The process of extracting the relevant attributes of an object is known as

A. polymorphism
B. inheritance
C. abstraction
D. data hiding

Answer: Option C

Explanation:

Abstraction is the process of extracting the relevant properties of an object while ignoring nonessential details. The extracted properties define a view of the object.