Welcome to Operating System Quiz, Entry Level !!

Question 1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line

^pat

$pat

pat$

pat^

Question 2. If the Disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O blocks requests are 98,37,14,124,65,67.

310

324

315

321

Question 3. 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 4. Which of the following file name extension suggests that the file is Backup copy of another file

TXT

COM

BAS

BAK

Question 5. The number of processes completed per unit time is known as

Output

Throughput

Efficiency

Capacity

Question 6. Which is not the state of the process

Blocked

Running

Ready

Privileged

Question 7. PCB =

Program Control Block

Process Control Block

Process Communication Block

None of the above

Question 8. A tree structured file directory system

allows easy storage and retrieval of file names

is a much debated unecessary feature

is not essential when we have millions of files

none of the above

Question 9. In the blocked state

the processes waiting for I/O are found

the process which is running is found

the processes waiting for the processor are found

none of the above

Question 10. FIFO scheduling is

Preemptive Scheduling

Non Preemptive Scheduling

Deadline Scheduling

Fair share scheduling