Shriram Mantri Vidyanidhi Info Tech Academy: OS Question Bank
Shriram Mantri Vidyanidhi Info Tech Academy: OS Question Bank
Shriram Mantri Vidyanidhi Info Tech Academy: OS Question Bank
OS Question Bank
1. 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
4. The systems which allows only one process execution at a time, are called
a) uniprogramming systems b) uniprocessing systems
c) unitasking systems d) none of the mentioned
14. Which scheduling algorithm allocates the CPU first to the process that requests the CPU first?
a) first-come, first-served scheduling b) shortest job scheduling
c) priority scheduling d) none of the mentioned
16. An interrupt breaks the execution of instructions and diverts its execution to
a) Interrupt service routine b) Counter word register
c) Execution unit d) control unit
20. The portion of the process scheduler in an operating system that dispatches processes is concerned with :
a) assigning ready processes to CPU b) assigning ready processes to waiting queue
c) assigning running processes to blocked queue d) All of these
22. Under multiprogramming, turnaround time for short jobs is usually ________ and that for long jobs is slightly
___________.
a) Lengthened; Shortened b) Shortened; Lengthened
c) Shortened; Shortened d) Shortened; Unchanged
25. Memory management technique in which system stores and retrieves data from secondary storage for use in
main memory is called
a) fragmentation b) paging c) none of the mentioned
2
Shriram Mantri Vidyanidhi Info Tech Academy
OS Question Bank
26. Operating System maintains the page table for
a) each process b) each thread c) each instruction d) each address
29. When memory is divided into several fixed sized partitions, each partition may contain ________.
a) exactly one process b) atleast one process
c) multiple processes at once d) None of these
36. Logical memory is broken into blocks of the same size called _________.
a) frames b) pages c) backing store d) None of these
40. When a program tries to access a page that is mapped in address space but not loaded in physical memory,
then
3
Shriram Mantri Vidyanidhi Info Tech Academy
OS Question Bank
a) segmentation fault occurs b) fatal error occurs
c) page fault occurs d) no error occurs
44. The operating system of a computer serves as a software interface between the user and the
a) Hardware b) Peripheral c) Memory b) Screen
54. A process is selected from the ______ queue by the ________ scheduler, to be executed.
a) blocked, short term b) wait, long term
c) ready, short term d) ready, long term
4
Shriram Mantri Vidyanidhi Info Tech Academy
OS Question Bank
c) using extremely small time slices increases performance
d) using very small time slices converts it into Shortest Job First algorithm
56. Scheduling is :
a) allowing a job to use the processor b) making proper use of processor
c) Both a and b d) None of these
58. The kernel keeps track of the state of each process by using a data structure called
a) Process control block b) User control block
c)Memory control block d)None of the above
59. In the multi-programming environment, the main memory consisting of _________ number of process.
a) Greater than 100 b) Only one c) Greater than 50 d) More than one
60.________ scheduler selects the jobs from the pool of jobs and loads into the ready queue.
a) Long term b) Short term c) Medium term d) None of the above
65. Which of the following memory allocation scheme suffers from External fragmentation?
a) Fixed Memory Partition b) Dynamic Memory Partition
c) Paging d) None
66. Which of the following is crucial time while accessing data on the disk?
a) Seek time b) Rotational time c) Transmission time d) Waiting time
70. PCB =
a) Program Control Block b) Process Control Block
c) Process Communication Block d) None of the above PCB
5
Shriram Mantri Vidyanidhi Info Tech Academy
OS Question Bank
71. Round robin scheduling is essentially the preemptive version of ________.
a) FIFO b) Shortest job first c) Shortes remaining d) Longest time first
73. In priority scheduling algorithm, when a process arrives at the ready queue, its priority is compared with the
priority of
a) all process b) currently running process c) parent process d) init process
75. Which module gives control of the CPU to the process selected by the short-term scheduler?
a) scheduler b) none of the mentioned c) dispatcher d) interrupt
76. Which one of the following can not be scheduled by the kernel?
a) user level thread b) process c) none of the mentioned d) kernel level thread
84. The operating system and the other processes are protected from being modified by an already running process
because :
a) they have a protection algorithm
b) they are in different logical addresses
c) every address generated by the CPU is being checked against the relocation and limit registers
6
Shriram Mantri Vidyanidhi Info Tech Academy
OS Question Bank
d) they are in different memory spaces
89. Which scheduler selects which processes should be brought into the ready queue?
a) Real-term b) Long-term c) Medium-term d) Short-term
90. Every address generated by the CPU is divided into two parts : (choose two)
a) page number b) page offset c) frame bit d) frame offset
95. The _____ table contains the base address of each page in physical memory.
a) Frame b) Page c) Process d) Memory
96. ............... is a large kernel containing virtually the complete operating system, including, scheduling, file
system, device drivers and memory management.
a) Multilithic kernel b) Monolithic kernel c) Micro kernel d) Macro kernel
97. .10 A .................... architecture assigns only a few essential functions to the kernel, including address spaces,
Inter process communication(IPC) and basic scheduling.
a) Monolithic kernel b) Micro kernel c) Macro kernel d) Mini kernel
98. With ................ only one process can execute at a time; meanwhile all other process are waiting for the
processer. With .............. more than one process can be running simultaneously each on a different processer.
7
Shriram Mantri Vidyanidhi Info Tech Academy
OS Question Bank
a) Multiprocessing, Multiprogramming b) Multiprogramming, Uniprocessing
c) Multiprogramming, Multiprocessing d) Uniprogramming, Multiprocessing
104. Which one of the following error will be handle by the operating system?
a) lack of paper in printer b) connection failure in the network
c) all of the mentioned d) power failure
107. If a process fails, most operating system write the error information to a
a) another running process b) log file c) none of the mentioned d) new file
108. Which facility dynamically adds probes to a running system, both in user processes and in the kernel?
a) Dadd b) Dmap c) Dlocate d) DTrace
109. Which one of the following is not a real time operating system?
a) VxWorks b) Palm OS c) RTLinux d) Windows CE
113. The address of the next instruction to be executed by the current process is provided by the
a) CPU registers b) program counter c) process stack d) pipe