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
The expression where ‘op’ is one of ‘’, ‘’ and ‘’ (exponentiation) can be evaluated on a CPU with single register without storing the value of () if
Heap allocation is required for languages.
A language 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?
The correct matching for the following pairs is …
What is the value of 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.
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?
A part of the system software which under all circumstances must reside in the main memory is:
Indicate all the true statements from the following:
A “link editor” is a program that:
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.
In which of the following case(s) is it possible to obtain different results for call-by-reference and call-by-name parameter passing?
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.
For the program given below what will be printed by the write statements marked and 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.
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 and in the program if the variables …
