Skip to content

GATE CS Runtime Environments questions

Practise Runtime Environments questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

14 on this page
Official PYQ1997Compiler DesignRuntime EnvironmentsMCQ · 1 mark
The expression (a∗b)∗c  op…( a * b) * c \; op \dots where ‘op’ is one of ‘++’, ‘∗*’ and ‘↑\uparrow’ (exponentiation) can be evaluated on a CPU with single register without storing the value of (a∗ba * b) if
Official PYQ1997Compiler DesignRuntime EnvironmentsMCQ · 1 mark
Heap allocation is required for languages.
Official PYQ1997Compiler DesignRuntime EnvironmentsMCQ · 1 mark
A language LL allows declaration of arrays whose sizes are not known during compilation. It is required to make efficient use of memory. Which one of the following is true?
Official PYQ1996Compiler DesignRuntime EnvironmentsMCQ · 1 mark
The correct matching for the following pairs is …
Official PYQ1995Compiler DesignRuntime EnvironmentsMCQ · 1 mark
What is the value of XX printed by the following program? program COMPUTE (input, output); var X:integer; procedure FIND (X:real); begin X:=sqrt(X); end; begin X:=2 FIND(X); writeln(X); end.
Official PYQ1995Compiler DesignRuntime EnvironmentsMCQ · 1 mark
A linker is given object modules for a set of programs that were compiled separately. What information need not be included in an object module?
Official PYQ1993Compiler DesignRuntime EnvironmentsMCQ · 1 mark
A part of the system software which under all circumstances must reside in the main memory is:
Official PYQ1991Compiler DesignRuntime EnvironmentsMSQ · 1 mark
Indicate all the true statements from the following:
Official PYQ1991Compiler DesignRuntime EnvironmentsMCQ · 1 mark
A “link editor” is a program that:
Official PYQ1990Compiler DesignRuntime EnvironmentsNAT · 1 mark
State whether the following statements are TRUE or FALSE with reason: The Link-load-and-go loading scheme required less storage space than the link-and-go loading scheme.
Official PYQ1989Compiler DesignRuntime EnvironmentsMSQ · 1 mark
In which of the following case(s) is it possible to obtain different results for call-by-reference and call-by-name parameter passing?
Official PYQ1988Compiler DesignRuntime EnvironmentsNAT · 1 mark
What is printed by following program, assuming call-by reference method of passing parameters for all variables in the parameter list of procedure P? program Main(inout, output); var a, b:integer; procedure P(x, y, z:integer); begin y:=y+1 z:=x+x end P; begin a:=2; b:=3; p(a+b, a, a); Write(a) end.
Official PYQ1987Compiler DesignRuntime EnvironmentsMCQ · 1 mark
For the program given below what will be printed by the write statements marked (1)(1) and (2)(2) in the program if the variables are dynamically scoped? Var x, y:interger; procedure P(n:interger); begin x := (n+2)/(n-3); end; procedure Q Var x, y:interger; begin x:=3; y:=4; P(y); Write(x); __(1) end; begin x:=7; y:=8; Q; Write(x); __(2) end.
Official PYQ1987Compiler DesignRuntime EnvironmentsMCQ · 1 mark
Study the following program written in a block-structured language: Var x, y:interger; procedure P(n:interger); begin x:=(n+2)/(n-3); end; procedure Q Var x, y:interger; begin x:=3; y:=4; P(y); Write(x) __(1) end; begin x:=7; y:=8; Q; Write(x); __(2) end. What will be printed by the write statements marked (1)(1) and (2)(2) in the program if the variables …