Welcome to Operating System Quiz, Intermediate Level !!

Question 1. 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. In relation to this, which of the followings is TRUE?

On per-thread basis, the OS maintains only CPU register state

The OS does not maintain a separate stack for each thread

On per-thread basis, the OS does not maintain virtual memory state

On per thread basis, the OS maintains only scheduling and accounting information

Question 2. You just added a new user, pankaj to the system. What group is pankaj added to by default

root

pankaj

group

user

Question 3. Replace the page that will not be used for the longest period of time. This principle is adopted by ?

FIFO Page replacement algorithm

Optimal Page replacement algorithm

Round robin scheduling algorithm

SCAN scheduling algorithm

Question 4. Which of the following is crucial time while accessing data on the disk?

Seek time

Rotational time

Transmission time

Waiting time

Question 5. The process related to process control, file management, device management, information about system and communication that is requested by any higher level language can be performed by

Editors

Compilers

System Call

Caching

Question 6. _______ OS pays more attention on the meeting of the time limits.

Distributed

Network

Real time

Online

Question 7. Which of the following scheduling algorithms is non-preemptive?

Round Robin

First-In First-Out

Multilevel Queue Scheduling

Multilevel Queue Scheduling with Feedback

Question 8. Which of the following does not interrupt a running process?

A device

Timer

Scheduler process

Power failure

Question 9. Let S and Q be two semaphores initialized to 1, where P0 and P1 processes the following statements wait(S);wait(Q); ---; signal(S);signal(Q) and wait(Q); wait(S);---;signal(Q);signal(S); respectively. The above situation depicts a _________ .

Semaphore

Deadlock

Signal

Interrupt

Question 10. A major problem with priority scheduling is ?

Definite blocking

Starvation

low priority

none of the above