1
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
2
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
3
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
4
GATE CSE 1994
MCQ (Single Correct Answer)
+2
-0.6
Which of the following features cannot be captured by context-free grammars?
A
Syntax of if-then-else statements
B
Syntax of recursive procedures
C
Whether a variable has been declared before its use
D
Variable names of arbitrary length
EXAM MAP