Operating Systems MCQ Set 2



1.       A page fault occurs
                                 
a)       when the page is not in the memory
b)       when the page is in the memory
c)       when the process enters the blocked state
d)       when the process is in the ready state

2.       Which of the following will determine your choice of systems software for your computer ?
                                 
a)       Is the applications software you want to use compatible with it ?
b)       Is it expensive ?
c)       Is it compatible with your hardware ?
d)       Both 1 and 3
       

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 _________ .
                                 
a)       Semaphore
b)       Deadlock
c)       Signal
d)       Interrupt

4.       What is a shell ?                  
a)       It is a hardware component
b)       It is a command interpreter
c)       It is a part in compiler
d)       It is a tool in CPU scheduling

5.       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 _________
                                 
a)       Static loading
b)       Dynamic loading
c)       Dynamic linking
d)       Overlays

6.       In the blocked state
                                 
a)       the processes waiting for I/O are found
b)       the process which is running is found
c)       the processes waiting for the processor are found
d)       none of the above

7.       What is the memory from 1K - 640K called ?
                                 
a)       Extended Memory
b)       Normal Memory
c)       Low Memory
d)       Conventional Memory

8.       Virtual memory is __________.
                                 
a)       An extremely large main memory
b)       An extremely large secondary memory
c)       An illusion of extremely large main memory
d)       A type of memory used in super computers.

9.       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 __________.
                                 
a)       Editors
b)       Compilers
c)       System Call
d)       Caching

10.    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.
                                 
a)       310
b)       324
c)       315

d)       321



Answers
1.a
2.d
3.b
4.b
5.c
6.a
7.d
8.c
9.c
10.d

0 comments:

Back to TOP