1. A programmer writes a program to find an element in the array A with the elements: 8 30 40 45 70. The program is run to find a number “X”, that is found in the first iteration of binary search. What is the value of “X”?
2. What is an array?
A. An array is a series of elements of the same type in contiguous memory locations.
B. An array is a series of element
C. An array is a series of elements of the same type placed in non-contiguous memory locations
D. None of the mentioned
3. How many specifiers are present in access specifiers in class?
4. How many kinds of classes are there in c++?
5. A reserved area of the immediate access memory used to increase the running speed of the computer program.
A. Session memory
B. Bubble memory
C. Cache memory
D. Shared memory