Welcome to Operating System Quiz, Intermediate Level !!

Question 1. ______ is a high level abstraction over Semaphore

Shared memory

Message passing

Monitor

Mutual exclusion

Question 2. 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 3. 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 4. 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 5. 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 6. Routine is not loaded until it is called. All routines are kept on disk in a relocatable load format. The main program is loaded into memory & is executed. This type of loading is called

Static loading

Dynamic loading

Dynamic linking

Overlays

Question 7. In the ___________ method of data transfer, the participation of the processor is eliminated during data transfer.

Buffering

Caching

Direct Memory Access

Indirect Memory Access

Question 8. In UNIX based systems,To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source

/usr/local

/usr/src/linux

/usr/sre/redhat

/usr/bin

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

Distributed

Network

Real time

Online

Question 10. Where does the swap space reside ?

RAM

Disk

ROM

On-chip cache