1)
On compilation, of C++ source code we
get ____ file.
a) . CPP b) .EXE c) .OBJ d) None
2)
On linking, of C++ source code we get
____ file.
a) . CPP b) .EXE c) .OBJ d) None
3)
________ functions saves memory space
as the code is not repeatedly compiled.
a) Normal
b) Inline c)
Static d)
None
4)
The local variables are stored in
______
a) Data segment b) Stack Segment c) Hash Segment d) None
5)
The static and global variables are
stored in ______
a) Data segment b) Stack Segment c) Hash Segment d) None
6)
The “ #include” is said to be a
___________
a) Empty statement b) preprocessor
directive c) Pragma d) None
7)
____ is the object used to display
information on standard output device.
a) cin b) printf c) cout d) None
8)
>> is said to be _____ operator.
a) Insertion b) Extraction c) Put d)
None
9)
<< is said to be _____ operator.
a) Insertion b) Extraction c) get d) None
10)
______ is the manipulator.
a) endl b) setw c) Both a
& b d) None
11)
_____ is the maximum number of
characters in a variable name.
a) 5 b) 32 c) 256 d) 1024
12)
________ is a fixed value throughout
the program.
a) Variables b) Constants c) Both a & b d) None
13)
____ is exponent form
a) –14E-2 b)
–14-E+2 c)
–14-E2 d)
None
14)
________ specifies what the variable
name is and what type it will hold.
a) Data Type b) Data Declaration c) Both a & b d) None
15)
An array is collection of _____ data.
a) Homogeneous b) Heterogeneous c) Both d) None
16)
The position in array is represented
by ____
a) Subscript b)
Indicator c)
Both d)
None
17)
The index of an array starts with __
a) 1 b) 0 c)
–1 d)
None
18)
The maximum number of dimensions
depends on ____.
a) Interpreter b) Compiler c) Operating system d) None
19)
________ defines the set of all names
that will be permissible values of the type.
a) Structures b) Enum c) Both d) None
20)
______ is a datatype which is used to
define heterogeneous set of data types.
a) Structures b) enum c) Array d) None
21)
The assignment statement is called
____ statement.
a) Static b) Dynamic c) Put d) None
22)
____ is modulus operator.
a) / b) ^ c) % d) &
23)
Type _____ is implicitly done.
a) Casting b) Conversion c) Both a& b d) None