Welcome to Operating System Quiz, Randomly Selected !!

Question 1. Which directory implementation is used in most Operating System

Single level directory structure

Two level directory structure

Tree directory structure

Acyclic directory structure

Question 2. The Banker's algorithm is used

to prevent deadlock in operating systems

to detect deadlock in operating systems

to rectify a deadlocked state

none of the above

Question 3. A page fault occurs

when the page is not in the memory

when the page is in the memory

when the process enters the blocked state

when the process is in the ready state

Question 4. 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 5. In Priority Scheduling a priority number (integer) is associated with each process. The CPU is allocated to the process with the highest priority (smallest integer = highest priority). The problem of, Starvation ? low priority processes may never execute, is resolved by ?

Terminating the process.

Aging

Mutual Exclusion

Semaphore

Question 6. The degree of Multiprogramming is controlled by

CPU Scheduler

Context Switching

Long-term Scheduler

Medium term Scheduler

Question 7. Which of the following file name extension suggests that the file is Backup copy of another file

TXT

COM

BAS

BAK

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

Shared memory

Message passing

Monitor

Mutual exclusion

Question 10. Which of the following will determine your choice of systems software for your computer

Is the applications software you want to use compatible with it

Is it expensive

Is it compatible with your hardware

Both 1 and 3