Logo

Operating-systems Questions Set 1:

Quiz Mode

A process executes the following code:

fork();
fork();
fork();

1
2
3
4

Solution:

The major part of swap time is the transfer time.

1
2
3
4

Solution:

The kernel maintains pending and blocked bit vectors in the context of each process.

1
2
3
4

Solution:

What is a zero capacity queue?

1
2
3
4

Solution:

Which of these hardware interrupts will be handled at the highest priority?

1
2
3
4

Solution:

A locking protocol is one that governs how locks are acquired and released.

1
2
3
4

Solution:

What is the ready state of a process?

1
2
3
4

Solution:

In the teardown state of the real-time streaming protocol, the server ___________

1
2
3
4

Solution:

Which of the following is true for the "two-state process model"?

1
2
3
4

Solution:

A thread is usually defined as a 'light weight process' because an operating system (OS) maintains smaller data structures for a thread than for a process. Which of the following statements is TRUE about threads?

1
2
3
4

Solution: