Saturday 8 March 2014

OPERATING SYSTEM SOLVED MCQS

1) A bootstrap is 
 A. A memory device
 B. A device to support the computer
 C. A small initialisation program to start up a computer
 D. An error correction technique
 Ans:-  C

2) System supports two types of file which are 
 A. Text files
 B. Executable binary files
 C. Both a and b
 D. None of these
Ans:-C

3) The only transition that is initiated by the user process itself is 
 A. Block
 B. Dispatch
 C. Wake up
 D. None of Above
Ans:- A

4) 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
Ans:- A

5) Memory on your computer where data is stored temporarily is called __________. 
 A. RAM
 B. ROM
 C. BIOS
 D. CPU
Ans:-A

6) Memory management is 
 A. Not used in modern operating system
 B. Replaced with virtual memory on current systems
 C. Not used on multiprogramming systems
 D. Critical for even the simplest operating systems
Ans:-D

7) Memory protection is normally done by the 
 A. Processor and the associated hardware
 B. Operating system
 C. Compiler
 D. User program
Ans:-A

8) If the property of locality of references is well pronounced a program
1.The number of page faults will be more.
2. The number of page faults will be less.
3.The number of page faults will remain the same.
4.Execution will be later. 
 A. 1 and 2.
 B. 2 and 4
 C. 3 and 4
 D. None of the above.
Ans:-B

9) A system has 3 processes sharing 4 resources.If each process needs a maximum of 2 units ,then 
 A. Deadlock can never occur
 B. Deadlock may occur
 C. Deadlock has to occur
 D. None of these
Ans:-A

10) Situations where two or more processes are reading or writing some shared datas and the final result depends on who runs precisely when are called 
 A. Race conditions
 B. Critical sections
 C. Mutual exclusions
 D. Message passing
Ans:-A

11) A solution to the critical section problem must satisfy which requirements? 
 A. Bounded waiting, monitor and relative speed
 B. Semaphores, monitor and prevention of deadlock
 C. Signal, wait and continue
 D. Mutual exclusion, progress and bounded waiting
Ans:-D

12) Which is the layer of a computer system between the hardware and the user program 
 A. Operating environment
 B. Operating system
 C. System environment
 D. None
Ans:-B

13) The simplest way to break a deadlock is to 
 A. Preempt a resource
 B. Rollback
 C. Kill one of the processes
 D. Lock one of the processes
Ans:-C

14) Round robin scheduling is essentially the preemptive version of ________ 
 A. FIFO
 B. Shortest job first
 C. Shortest remaining
 D. Longest time first
Ans:-A

15) Which of the following scheduler reduces the degree of multiprogramming? 
 A. Long term scheduler
 B. Short term scheduler
 C. Mid term scheduler
 D. None of these
Ans:-C

16) 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
Ans:- B

17) Which is not the state of the process ? 
 A. Blocked
 B. Running
 C. Ready
 D. Privileged
Ans:-D

18) A signal is a virtual interrupt which is created by which of the following 
 A. Hardware
 B. OS
 C. PCB
 D. TLB
Ans:-B

19) Worm was made up 
 A. One program
 B. Two program
 C. Three program
 D. All of these
Ans:-B

20) Interval between the time of submission and completion of job is called 
 A. Waiting time
 B. Turn around time
 C. Throughput
 D. Response time
Ans:-B

No comments:

Post a Comment