1
GATE CSE 1999
MCQ (Single Correct Answer)
+2
-0.6
Which of the following actions is/are typically not performed by the operating system when switching context from process $$A$$ to process $$B$$ ?
A
Saving current register values and restoring saved register values for process
B
Changing address translation tables.
C
Swapping out the memory image of process A to the disk.
D
Invalidating the translation look-aside buffer.
2
GATE CSE 1999
MCQ (More than One Correct Answer)
+2
-0
A multi-user, multi-processing operating system cannot be implemented on hardware that does not support:
A
Address translation
B
DMA for disk transfer
C
At least two modes of CPU execution (privileged and non-privileged)
D
Demand paging
3
GATE CSE 1999
MCQ (Single Correct Answer)
+1
-0.3
System calls are usually invoked by using:
A
A software interrupt
B
Polling
C
An indirect jump
D
A privileged instruction
4
GATE CSE 1999
MCQ (Single Correct Answer)
+2
-0.6
Given the programming constructs:

(i) assignment
(ii) for loops where the loop parameter cannot be changed within the loop
(iii) if-then-else
(iv) forward go to
(v) arbitrary go to
(vi) non-recursive procedure call
(vii) recursive procedure/function call
(viii) repeat loop,

which constructs will you not include in a programming language such that it should be possible to program the terminates (i.e., halting) function in the same programming language.

A
ii), (iii), (iv)
B
(v), (vii), (viii)
C
(vi), (vii), (viii)
D
(iii), (vii), (viii)