1
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Which of the following is true?
A
Unless enabled, a $$CPU$$ will not be able to process interrupts.
B
Loop instructions cannot be interrupted till they complete.
C
A processor checks for interrupts before executing a new instruction.
D
Only level triggered interrupts are possible on microprocessors.
2
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Which of the following devices should get higher priority in assigning interrupts?
A
Hard disk
B
printer
C
Keyboard
D
Floppy disk
3
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Consider $$n$$ processes sharing the $$CPU$$ in a round-robin fashion. Assuming that each process switch takes $$s$$ seconds, what must be the quantum size $$q$$ such that the overhead resulting from process switching is minimized but, at the same time each process is guaranteed to get its turn at the $$CPU$$ at least every $$t$$ seconds?
A
$$q \le {{t - ns} \over {n - 1}}$$
B
$$q \ge {{t - ns} \over {n - 1}}$$
C
$$q \le {{t - ns} \over {n + 1}}$$
D
$$q \ge {{t - ns} \over {n + 1}}$$
4
GATE CSE 1998
Subjective
+2
-0
Four jobs are waiting to be run. Their expected run times are $$6, 3, 5$$ and $$x$$. $${\rm I}$$n what order should they be run to minimize the average response time?