Welcome to Operating System Quiz, Intermediate Level !!

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

Distributed

Network

Real time

Online

Question 2. 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 3. A major problem with priority scheduling is ?

Definite blocking

Starvation

low priority

none of the above

Question 4. 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 5. The agency that sits between the user and the UNIX system is called the

logic

profile

shell

erxc

Question 6. 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 7. In a virtural memory environment

segmentation and page tables are stored in the cache and do not add any substantial overhead

slow down the computer system considerable

segmentation and page tables are stored in the RAM

none of the above

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

A device

Timer

Scheduler process

Power failure

Question 9. Where does the swap space reside ?

RAM

Disk

ROM

On-chip cache

Question 10. 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