1
GATE CSE 2002
MCQ (Single Correct Answer)
+2
-0.6
In the index allocation scheme of blocks to a file, the maximum possible size of the file depends on
A
The size of the blocks, and the size of the address of the blocks.
B
The number of blocks used for the index, and the size of the blocks.
C
The size of the blocks, the number of blocks used for the index, and the size of the address of the blocks.
D
None of the above.
2
GATE CSE 2002
MCQ (Single Correct Answer)
+1
-0.3
The results returned by function under value-result and reference parameter passing conventions
A
Do not differ
B
Differ in the presence of loops
C
Differ in all cases
D
May differ in the presence of exception
3
GATE CSE 2002
MCQ (Single Correct Answer)
+1
-0.3
In the C language
A
At most one activation record exists between the current activation record and the activation record for the main
B
The number of activation records between the current activation record and the activation record of the main depends on the actual function calling sequence.
C
The visibility of global variables depends on the actual function calling sequence.
D
Recursion requires the activation record for the recursive function to be saved on a different stack before the recursive fraction can be called.
4
GATE CSE 2002
MCQ (Single Correct Answer)
+2
-0.6
Consider the following declaration of a two-dimensional array in C:

char a[100][100];

Assuming that the main memory is byte-addressable and that the array is stored starting from memory address 0, the address of a[40][50] is
A
4040
B
4050
C
5040
D
5050
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
CBSE
Class 12