1
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.
2
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