The normal cout<< combination
The cin.get() function with one argument
The cin.get() function with two argument
The cin.get() function with three argument
True
False
All variables must be declared before they are used
Variables in C++ need not be declared and the type can be assigned dynamically
Variables in C++ can be declared at the end of the program (before the main function terminates)
Variables can not be used explicitly in C++
True
False
scope resolution operator
global operator
Both (a) & (b)
None of these
True
False
try block
throw exception
catch function
abort()
string constants in your program
program statements in string form
variables whose type is of string
none of the above
You can define your data types
Program statements are simpler than in procedural languages.
An OO program can be taught to correct its own errors.
It's easier to conceptualize an OO program.
references are pointers
array of references can be created
you can not reference a reference variable
all of the above
sixth
seventh
eighth
impossible to tell
Only from the base class itself
Both form the base class and from its derived classes
From the class which is friend of the base class
None of the above are correct
Virtual copying
Inheritance
Encapsulation
None of these
pure class
abstract class
base class
derived class
Two
One
No
None of the above
Are removed from memory when not in use
Permit data to be hidden from other classes
Bring together all aspects of an entity in one place
Can closely model objects in the real world
The loop in which it occurs
The block in which it occurs
The function in which it occurs
The program in which it occurs
True
False
True
False
Private
protected
public
None of the above are correct
->
dot operator
::
>>
Two
One
No
None of the above
template class
a generic class
exception
identifier
True
False
Encapsulation
Data dependency
Inheritance
Instantiation
Structure member
Structure tag
Structure variable
The keyword struct.
True
False
True
False
True
False
A file in which recoreds are arranged in a way they are inserted in a file
A file in which records are arranged in a particular order
Files which are stored on a direct access storage medium
None of the above