91. _________ allows access to the specific data without
need for accessing its preceding its data items.
A. sequential file
B. random file
C. get file
D. put file
ANSWER: B
92. Which of the following gives the memory address of a
variable pointed to pointer a?
A. a.
B. *a.
C. &a.
D. address (a).
ANSWER: A
93. Which one of the following is invalid variable name?
A. 1count.
B. count.
C. count1.
D. count_1.
ANSWER: A
94. ________ integer can hold both positive and negative
values.
A. Unsigned.
B. Positive.
C. Negative.
D. Signed.
ANSWER: D
95. The elements of an array can be accessed by providing
integer expression called _______.
A. superscripts.
B. elements.
C. values.
D. subscripts.
ANSWER: D
96. The second element of the array in : int zones [5]= {
43,54,56,76,78} can be accessed by ________.
A. zones[2].
B. zones[1].
C. zones[3].
D. zones[4].
ANSWER: B
97. The declaration of a two dimensional array called list
with dimensions 4 X 9 is represented as _____.
A. int list [4] [9].
B. int list [9][4].
C. int list [4,9].
D. int list[9,4].
ANSWER: A
98. The ______ is the function that detects the end of file.
A. eof( ).
B. getline( ).
C. putline( ).
D. clear( ).
ANSWER: A
99. ___________ is not a type of scope in c++.
A. Global.
B. Local.
C. File.
D. Function.
ANSWER: D
100. Which of the following is the correct operator to
compare two variables?
A. :=.
B. =.
C. equal.
D. ==.
ANSWER: D
No comments:
Post a Comment