Welcome to Operating System Quiz, Randomly Selected !!

Question 1. In interactive environments such as time-sharing systems, the primary requirement is to provide reasonably good response time and in general, to share system resources equitably. In such situations, the scheduling algorithm that is most popularly applied is ________.

Shortest Remaining Time Next (SRTN) Scheduling

Priority Based Preemptive Scheduling

Round Robin Scheduling

none of the above

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. Round robin scheduling is essentially the preemptive version of

FIFO

Shortest job first

Shortest remaining

Longest time first

Question 4. 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 5. In UNIX, Which command is used to display the top of the file

cat

head

more

grep

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

Single level directory structure

Two level directory structure

Tree directory structure

Acyclic directory structure

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

RAM

Disk

ROM

On-chip cache

Question 9. The problem of thrashing is effected scientifically by

Program structure

Program size

Primary storage size

None of the above

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