OSY MCQ Question Bank
OSY MCQ Question Bank
01. The part of machine level instruction, which tells the central processor what has to be done, is
A.Operation code
B. Address
C. Locator
D.Flip-Flop
02. Process is
A.program in High level language kept on disk
B. contents of main memory
C.a program in execution
D.a job in secondary memory
a. User-happy b. User-simple
c. User-friendly d. None of the above
04.When a peripheral device needs immediate attention from the operating system, it generates(n)
a. Interrupt b. Spool
c. Stack d. Page file
09. To access the services of operating system, the interface is provided by the ___________
a) System calls b) API
c) Library d) Assembly instructions
11. 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
13. A Process Control Block(PCB) does not contain which of the following?
a) Code
b) Stack
c) Bootstrap program
d) Data
15. The number of processes completed per unit time is known as __________
a) Output b) Throughput
c) Efficiency d) Capacity
22. The link between two processes P and Q to send and receive messages is called __________
a) communication link
b) message-passing link
c) synchronization link
d) all of the mentioned
26. If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______
to do.
a) full, little
b) full, lot
c) empty, little
d) empty, lot
29. The context of a process in the PCB of a process does not contain __________
a) the value of the CPU registers
b) the process state
c) memory-management information
d) context switch time
31. The processes that are residing in main memory and are ready and waiting to execute are kept on a list called
_____________
a) job queue
b) ready queue
c) execution queue
d) process queue
32. The interval from the time of submission of a process to the time of completion is termed as ____________
a) waiting time
b) turnaround time
c) response time
d) throughput
33. 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
35. 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
40 Consider the following set of processes, the length of the CPU burst time given in milliseconds.
Assuming the above process being scheduled with the SJF scheduling algorithm.
a) The waiting time for process P1 is 3ms
b) The waiting time for process P1 is 0ms
c) The waiting time for process P1 is 16ms
d) The waiting time for process P1 is 9ms
41. Which of the following scheduling algorithms gives minimum average waiting time?
a) FCFS
b) SJF
c) Round – robin
d) Priority
48. 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) mapping
d) none of the mentioned
51. ______ is a unique tag, usually a number identifies the file within the file system.
a) File identifier
b) File name
c) File type
d) None of the mentioned
53. Which one of the following explains the sequential file access method?
a) random access according to the given byte number
b) read bytes one at a time, in order
c) read/write sequentially by record
d) read/write randomly by record
56. Contiguous allocation has two problems _________ and _________ that linked allocation solves.
a) external – fragmentation & size – declaration
b) internal – fragmentation & external – fragmentation
c) size – declaration & internal – fragmentation
d) memory – allocation & size – declaration
59. Because of virtual memory, the memory can be shared among ____________
a) processes
b) threads
c) instructions
d) none of the mentioned
60. In FIFO page replacement algorithm, when a page must be replaced ____________
a) oldest page is chosen
b) newest page is chosen
c) random page is chosen
d) none of the mentioned