Welcome to Operating System Quiz, Intermediate Level !!

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

A device

Timer

Scheduler process

Power failure

Question 2. In a multithreaded environment _______.

Each thread is allocated with new memory from main memory.

Main thread terminates after the termination of child threads.

Every process can have only one thread.

none of the above

Question 3. 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 4. ______ is a high level abstraction over Semaphore

Shared memory

Message passing

Monitor

Mutual exclusion

Question 5. 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 6. Which of the following statements is false?

Virtual memory implements the translation of a program's address space into physical memory address space

Virtual memory allows each program to exceed the size of the primary memory

Virtual memory increases the degree of multiprogramming

Virtual memory reduces the context switching overhead

Question 7. Consider a set of n tasks with known runtimes r1, r2, ? rn to be run on a uniprocessor machine. Which of the following processor scheduling algorithms will result in the maximum throughput?

Round-Robin

Shortest-Job-First

Highest-Response-Ratio-Next

First-Come-First-Served

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

Distributed

Network

Real time

Online

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. Where does the swap space reside ?

RAM

Disk

ROM

On-chip cache