1
GATE CSE 1994
MCQ (Single Correct Answer)
+2
-0.6
Consider the following heap (Figure) in which blank regions are not in use and hatched region are in use.

The sequence of requests for blocks of size $$300, 25, 125, 50$$ can be satisfied if we use.

GATE CSE 1994 Operating Systems - Memory Management Question 27 English
A
Either first fit or best fit policy (any one)
B
First fit but not best fit policy
C
Best fit but first fit policy
D
None of the above
2
GATE CSE 1994
MCQ (Single Correct Answer)
+2
-0.6
A memory page containing a heavily used variable that was initialized very early and is in constant use is removed when
A
LRU page replacement algorithm is used
B
FIFO page replacement algorithm is used
C
LFU page replacement algorithm is used
D
None of the above
3
GATE CSE 1994
MCQ (Single Correct Answer)
+2
-0.6
In which one of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods?
A
Passing a constant value as a parameter
B
Passing the address of an array as a parameter
C
Passing an array element as a parameter
D
Passing an array following statements is true
4
GATE CSE 1994
MCQ (Single Correct Answer)
+1
-0.3
An unrestricted use of the "goto" statement is harmful because
A
it makes it more difficult to verify programs
B
it increases the running time of the programs
C
it increases the memory required for the programs
D
it results in the compiler generating longer machine code
EXAM MAP