Object Oriented Programming Using C++ - Part 11 Online Exam Quiz
Object Oriented Programming Using C++ - Part 11 GK Quiz. Question and Answers related to Object Oriented Programming Using C++ - Part 11. MCQ (Multiple Choice Questions with answers about Object Oriented Programming Using C++ - Part 11
A function whose purpose is to send messages to other functions is known as a _____
Options
A : dispatcher
B : courier
C : messenger
D : sender
With commercial classes, the function source code is usually________
Options
A : printed on high-quality paper
B : poorly written
C : provided on a disk
D : provided in object form
The type of value that a function sends back to the function that calls it is known as its _____
Options
A : type
B : return value
C : reference data
D : sentinel
Which of the following are never inherited?
Options
A : public data members
B : constructor functions
C : void functions
D : overloaded + operators
The expression c = i++ causes
Options
A : the value of i assigned to c and then i incremented by 1
B : i to be incremented by 1 and then the value of i assigned to c
C : value of i assigned to c
D : i to be incremented by 1
An identifier in C
Options
A : is a name of a thing such as variable and function
B : is made up of letters, numerals, and the underscore
C : can contain both uppercase and lowercase letters
D : All of the above
Which of the following creates a String named constant called partNo, whose value is AB45?
Options
A : const char[4] partNo = "AB45";
B : const char[5] partNo = 'AB45';
C : const char[5] partNo = "AB45";
D : const char partNo[5] = "AB45";
The bitwise AND operator is represented by the symbol
Options
A : ^
B : &
C : &&
D : >>
The exclusive OR operator gives the result 1 when
Options
A : both the bits are 0
B : one bit is 0 and the other is 1
C : both the bits are 1
D : no hard and fast rule
A function's purpose is to print customer data. Which of the following is the best name for this function?
Options
A : pcd(). It's short for "print customer data" and takes few keystrokes
B : Printcustomerdata(). It states everything the function will do
C : printCustomer(). It states the function's purpose and is easy to read
D : lastFunction(). It is the final function called in most programs, and this name identifies the function's timing
Artificial Intelligence - Part 1 more Online Exam Quiz
Object Oriented Programming Using C++ - Part 6
Object Oriented Programming Using C++ - Part 7
Object Oriented Programming Using C++ - Part 8
Object Oriented Programming Using C++ - Part 9
Object Oriented Programming Using C++ - Part 10
Operating Systems Concepts - Part 2
Operating Systems Concepts - Part 3
Operating Systems Concepts - Part 4