Computer Science - Object Oriented Programming Using C++

26. 

A _____ is a single item of information about a person, place, or thing

A. data file
B. field
C. program file
D. record

Answer: Option B

Explanation:

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

27. 

Which (if any) of the following is NOT a programmer-defined type

A. an array
B. a structure
C. a class
D. All of the above are programmer-defined types

Answer: Option D

Explanation:

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

28. 

Assume a program contains a void function named displayName, which requires no formal parameters. Which of the following is a correct function prototype for this function?

A. displayName;
B. displayName(void);
C. void displayName;
D. void displayName();
E. void displayName(none);

Answer: Option D

Explanation:

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

29. 

A file pointer always contains the address of the file

A. True
B. False

Answer: Option B

Explanation:

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

30. 

You declare a function with a function _____, which is typically entered at the beginning of the program, below the #include directives

A. call
B. prototype declaration
C. definition
D. pointer

Answer: Option B

Explanation:

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