1000+ C++ MCQS - 1

Question: 1

A program that predicts the exact sequence in which events will take place is said to be

(A) object oriented

(B) procedural

(C) interpreted

(D) compiled

Ans: B

procedural

Question: 2

Many programmers separate a class into two files

(A) one for the primary functions and one for the auxiliary functions

(B) one for the public data and one for the private data

(C) one for the void functions and one for the other functions

(D) one for the declarations and one for the implementation

Ans: D

one for the declarations and one for the implementation

Question: 3

The features that allows you to use the same function name for separate functions that have different argument lists is called

(A) constructing

(B) destructing

(C) overriding

(D) overloading

Ans: D

overloading

Question: 4

An auxiliary function

(A) creates and destroys objects

(B) changes the state of data members

(C) return information about data members

(D) performs an action or service

Ans: D

performs an action or service

Question: 5

The generic name used for unexpected errors that occur during the execution of a program is

(A) anomalies

(B) deviations

(C) exceptions

(D) infractions

Ans: C

exceptions

Related Questions
Read More Engineering Topics