1
GATE CSE 1993
MCQ (Single Correct Answer)
+2
-0.6
A simple two-pass assembler does the following in the first pass:
A
It allocates space for the literals.
B
It computes the total length of the program
C
It builds the symbol table for the symbols and their values.
D
It generates code for all the load and store register instructions.
2
GATE CSE 1993
MCQ (Single Correct Answer)
+2
-0.6
A part of the system software, which under all circumstances must reside in the main memory is:
A
text editor
B
assembler
C
linker
D
loader
3
GATE CSE 1993
Subjective
+2
-0
The details of an interrupt cycle are shown in Figure GATE CSE 1993 Operating Systems - Process Concepts and Cpu Scheduling Question 44 English
Given that an interrupt input arrives every $$1$$ $$msec,$$ what is the percentage of the total time that the $$CPU$$ devotes for the main program execution.
4
GATE CSE 1993
MCQ (Single Correct Answer)
+2
-0.6
What does the following code do?
var a, b : integer;
begin
    a:=a+b;
    b:=a-b;
    a:=a-b;
end;
A
exchanges a and b
B
doubles a and stores in b
C
doubles b and stores in a
D
leaves a and b unchanged
EXAM MAP