Operating System Questions Answers MCQ Download PDF

Operating System Questions Answers MCQ Download Operating System Questions Answers MCQ Practice Set

1)If the property of locality of reference is well pronounced in a program

a) the number of page faults will be more

b) the number of page faults will be less

c) the number of page faults will same

d) none of above

View Answer
Option – B.

2) Belady anamoly occurs in

a) Optimal replacement

b) FIFO

c) LRU

d) both in FIFO and LRU

View Answer
Option – B.

3)Memory protection is normally done by

a) the processor and the associated hardware

b) the operating system

c) the compiler

d) the user program

View Answer
Option – a.

4) In real time OS, which is most suitable scheduling scheme

a) round robin

b) FCFS

c) pre-emptive scheduling

d) random scheduling

View Answer
Option – c.

5)For multiprogramming operating system

a) special support from processor is essential

b) special support from processor is not essential

c) cache memory is essential

d) none of above

View Answer
Option – B.

6)Which operating system reacts in the actual time

a) Batch system

b) Quick response system

c) Real time system

d) Time sharing system

View Answer
Option – c.

7)Which technique is used by operating systems to execute several programs concurrently by switching back and forth

a) Partitioning

b) Multitasking

c) Windowing

d) Paging

View Answer
Option – c.

8)What is the name given to the values that are automatically provided by software to reduce keystrokes and improve a computer user’s productivity?

a) Defined values

b) Fixed values

c) Default values

d) None of the above

View Answer
Option – c.

9)Shortest Job First executes first the job

a) with the least processor needs

b) that first entered the queue

c) that has been in the queue for the longest

d) that last entered the queue

View Answer
Option – a.

10) Fragmentation of a file system

a) occurs only is file is not used properly

b) can always be prevented

c) happens in all file systems

d) can be removed by compaction

View Answer
Option – b.

11) Which operating system use write through catches

a) UNIX

b) XENIX

c) ULTRIX

d) DOS

View Answer
Option – d.

12) Dynamic allocation of storage areas with VSAM files is accomplished by

a) hashing

b) control splits

c) over flow areas

d) relative recording

View Answer
Option – b.

13)Dijkstra’s algorithm deals with

a) mutual exclusion

b) deadlock recovery

c) deadlock avoidance

d) cache coherence

View Answer
Option – c.

14)A series of statements explaining how the data is to be processed is called

a) instruction

b) compiler

c) program

d) interpretor

View Answer
Option – c.

15) Which of following is not a condition of Dead Lock ?

a) Mutual Exclusion

b) No Preemption

c) Hold and Wait

d) Data Transfer

View Answer
Option – d.

 

16) Consider a virtual memory system with FIFO page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will

a) Always decrease the number of page faults

b) Always increase the number of page faults

c) Some times increase the number of page faults

d) Never affect the number of page faults

View Answer
Option – c.

17) Which of the following need not necessarily be saved on a context switch between processes?

(a) General purpose registers

(b) Translation look-aside buffer

(c) Program counter

(d) All of the above

View Answer
Option – B.

18)Which of the following scheduling algorithms is non-preemptive? (GATE CS 2002)

a) Round Robin

b) First-In First-Out

c) Multilevel Queue Scheduling

d) Multilevel Queue Scheduling with Feedback

View Answer
Option – B.

19)Increasing the RAM of a computer typically improves performance because:

(a) Virtual memory increases

(b) Larger RAMs are faster

(c) Fewer page faults occur

(d) Fewer segmentation faults occur

View Answer
Option – c.

20)A system uses FIFO policy for page replacement. It has 4 page frames with no pages loaded to begin with. The system first accesses 100 distinct pages in some order and then accesses the same 100 pages but now in the reverse order. How many page faults will occur?

(A) 196

(B) 192

(C) 197

(D) 195

View Answer
Option – a.

21)In which one of the following page replacement policies, Belady’s anomaly may occur?

(A) FIFO

(B) Optimal

(C) LRU

(D) MRU

View Answer
Option – a.

22) What is operating system?

a)collection of programs that manages hardware resources

b)system service provider to the application programs

c)link to interface the hardware and application programs

d)all of the mentioned

View Answer
Option – d.

23)A process can be terminated due to

a) normal exit

b)fatal error

c)killed by another process

d)all of the mentioned

View Answer
Option – d.

24) If a process fails, most operating system write the error information to a

a)log file

b) another running process

c) new file

d) none of the mentioned

View Answer
Option – a.

25) To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
a)1

b)3

c)5

d)7

View Answer
Option – a.

26)What should be the size of ROM if it is used to store the table for multiplication of two 8 – bit unsigned integers?

a) 64k x 8

b) 64k x 16

c) 4k x 8

d) 64k x 16

View Answer
Option – a.

27)What must reside in the main memory under all situations in a resident – OS computer?

a) Linker

b) Loader

c) Assembler

d) Compiler

View Answer
Option – b.

28)In a virtual memory environment the minimum number of page frames that must be allocated to a running process is determined by ___________________.

a) The Number of Processes in the Memory

b) The Instruction Set Architecture

c) The Page Size

d) The Physical Memory Size

View Answer
Option – b.

29)  A machine has a physical memory of 64 Mbyte and a virtual address space of 32 – bit. The page size is 4kbyte, What is the approximate size of the page table?

a) 24 Mbyte

b) 16 Mbyte

c) 2 Mbyte

d) 8 Mbyte

View Answer
Option – c.

30)What invokes the system calls?

a) A privileged instruction

b) An indirect jump

c) A software interrupt

d) Polling

View Answer
Option – a.

31)What should be the extension to execute files?

a) EXE

b) BAT

c) COM

d) All of the above

View Answer
Option – d.

32)The operating system manages

a) Memory

b) Processes

c) Disks and I/O devices

d) all of the above

View Answer
Option – d.

33)You Need To Create New Volumes And Format A New Disk You Just Installed On Your Windows 7 Computer. Which Tool Should You Use?

a) Disk Utility

b)  Format

c) Disk Management

d) None Of The Above

View Answer
Option – c.

34)Which One Is A ‘text Editor’ For Microsoft Windows?

a) MS Word

b) Ms Excel

c) WordPad

d) Notepad

View Answer
Option – d.

35) System Supports Two Types Of File, Which Are

a) Text Files

b) Executable Binary Flies

c) Both (a) And (b)

d) None Of These

View Answer
Option – c.
error: