Time Left - 20:00 mins

GATE CS : Operating Systems Champion Quiz 1

Attempt now to get your rank among 1110 students!

Question 1

Which among the following is correct in case of Spatial locality?

Question 2

Let the time taken to switch between user and kernel modes of execution be t1 while the time taken to switch between two processes be t2. Which of the following is TRUE? 

Question 3

Increasing the RAM of a computer typically improves performance because

Question 4

A computer handles several interrupt sources of which the following are relevant for this question.
* Interrupt from CPU temperature sensor (raises interrupt if CPU temperature is too high)
* Interrupt from Mouse (raises interrupt if the mouse is moved or a button is pressed)
* Interrupt from Keyboard (raises interrupt when a key is pressed or released)
* Interrupt from Hard Disk (raises interrupt when a disk read is completed)
Which one of these will be handled at the HIGHEST priority?

Question 5

We can say that an Overlays is:

Question 6

In the following process state transition diagram for a uniprocessor system, assume that there are always some processes in the ready state:

Now consider the following statements:
I. If a process makes a transition D, it would result in another process making transition A immediately.
II. A process P2 in blocked state can make transition E while another process P1 is in running state.
III. The OS uses preemptive scheduling.
IV. The OS uses non-preemptive scheduling. Which of the above statements are TRUE?

Question 7

A process executes the following code
for (i=0; i < n; i++)
     fork( );

The total number of child processes created is

Question 8

Which one of the following is FALSE?

Question 9

Consider the following statements with respect to user-level threads and kernel-supported threads
(i) context switch is faster in kernel-supported threads
(ii) for user-level threads, a system call can block the entire process
(iii) Kernel supported threads can be scheduled independently
(iv) User level threads are transparent to the kernel
Which of the above statements are true?

Question 10

Which of the following need not necessarily be saved on a context switch between processes?
  • 1110 attempts
  • 9 upvotes
  • 36 comments
Jun 22GATE & PSU CS