Array and Array Operations Multiple Questions and Answers.

11.Assuming int is of 4 bytes, what is the size of int arr[15]; ?
A. 15
B. 19
C. 11
D. 60

12.In general, the index of the first element in an array is ?
A. 0
B. -1
C. 2
D. 1

13.Elements in an array are accessed ?
A. Randomly
B. Sequentially
C. Exponentially
D. Logarithmically

14.A mathematical-model with a collection of operations defined on that model is called:
A. Data Structure
B. Abstract Data Type
C. Primitive Data Type
D. Algorithm

15. The information about an array that is used in a program will be stored in:
A. symbol table
B. activation record
C. system table
D. dope vector


Quick Links

GAT Subject

   Computer Science    English    Agriculture    Botany    


   Computer Science    Civil Engineering    


   Networking    Electronics    Database    

Past Papers

   Model Papers    FPSC    PPSC    NTS