operating systems solved mcqs

Operating Systems Solved MCQs

OS Systems MCQs Bank

operating systems solved mcqs

Operating systems Solved MCQs Set1

Q. ………….. refers to a situation in which a process is ready to execute but is continuously denied access to a processor in deference to other processes.
A) Synchronization
B) Mutual Exclusion
C) Dead lock
D) Starvation✔

Q. Which of the following is not the approach to dealing with deadlock?
A) Prevention
B) Avoidance
C) Detection
D) Deletion✔

Q. Which of the following are the states of a five state process model?
i) Running ii) Ready iii) New iv) Exit v) Destroy
A) i, ii, iii and v only
B) i, ii, iv and v only
C) i, ii, iii, and iv only✔
D) All i, ii, iii, iv and v

Q. State which statement is true for Suspended process?
i) The process is not immediately available for execution.
ii) The process may be removed from suspended state automatically without removal order.
A) i only✔
B) ii only
C) i and ii only
D) None

Q. Following is/are the reasons for process suspension.
A) Swapping parent process
B) Inter request
C) Timing
D) All of the above✔

Operating systems Set2

Q. The different types of tables maintained by the operating system are ………….
A) memory, logical , I/O file
B) memory, I/O, file, physical
C) memory, I/O, file, process✔
D) memory, logical, I/O, physical

Q. Which of the following information not included in memory table?
A) The allocation of main memory to process.
B) The allocation of secondary memory to process
C) Any information needed to manage virtual memory
D) Any information about the existence of file✔

Q. Process Management function of an operating system kernel includes.
A) Process creation and termination.
B) Process scheduling and dispatching
C) Process switching
D) All of the above✔

Q. The typical elements of process image are …………………
i) User data ii) System Data iii) User program iv) System stack
A) i, iii and iv only✔
B) i, ii, and iv only
C) ii, iii, and iv only
D) All i, ii, iii, and iv

Q. Match the following mechanisms for interrupting the execution of a process and their uses.
i) Interrupt a) Call to an operating system function
ii) Trap b) Reaction to an asynchronous external event
iii) Supervisor Call c) Handling of a error or an exception condition
A) i-a, ii-b, iii-c
B) i-c, ii-a, iii-b
C) i-b, ii-c, iii-a✔
D) i-a, ii-c, iii-b

Operating systems Set3

Q. The unit of dispatching is usually referred to as a …………..
A) Thread
B) Lightweight process
C) Process
D) Both A and B✔

Q. ……………….. is a example of an operating system that support single user process and single thread.
A) UNIX
B) MS-DOS✔
C) OS/2
D) Windows 2000

Q. …………… are very effective because a mode switch is not required to switch from one thread to another.
A) Kernel-level threads
B) User-level threads✔
C) Alterable threads
D) Application level threads

Q. …………… is a condition in which there is a set of concurrent processes, only one of which is able to access a given resource or perform a given function at any time.
A) Mutual Exclusion✔
B) Busy Waiting
C) Deadlock
D) Starvation

Q. …………………. Techniques can be used to resolve conflicts, such as competition for resources, and to synchronize processes so that they can cooperate.
A) Mutual Exclusion✔
B) Busy Waiting
C) Deadlock
D) Starvation

Q. ……………. Can be defined as the permanent blocking of a set of processed that either complete for system resources or communicate with each other.
A) Deadlock✔
B) Permanent lock
C) Starvation
D) Mutual exclusion

Operating systems Set4

Q. The following conditions of policy must be present for a deadlock to be possible.
i) Mutual exclusion ii) Hold and wait
iii) No preemption iv) Circular wait
A) i, ii and iii only
B) ii, iii and iv only
C) i, iii and iv only
D) All i, ii, iii and iv✔

Q. A direct method of deadlock prevention is to prevent the occurrence of …………..
A) Mutual exclusion
B) Hold and wait
C) Circular waits✔
D) No preemption

Q. State true of false.
i) With paging, each process is divided into relatively small, fixed-size pages.
ii) Segmentation provides for the use of pieces of varying size.
A) True, False
B) True, True✔
C) False, True
D) False, False

Q. …………. Involves treating main memory as a resource to be allocated to and shared among a number of active processes.
A) Partition management
B) Memory management✔
C) Disk management
D) All of the above

Q. A process that execute only in main memory is referred to as ……………… and that allocated in disk is referred to a …………….
A) virtual memory, true memory
B) virtual memory, real memory
C) real memory, virtual memory✔
D) imaginary memory, real memory

Q. In process scheduling, …………………… determines when new processes are admitted to the system.
A) long term scheduling✔
B) medium term scheduling
C) short term scheduling
D) none of the above

Operating systems Set5

Q. In process scheduling, ………………… determines which ready process will be executed next by processor.
A) long term scheduling
B) medium term scheduling
C) short term scheduling✔
D) none of the above

Q. The sum of the seek time, and the rotational delay is called the ………………..
A) reached time
B) access time✔
C) arrived time
D) common time

Q. The …………….. policy segments the disks request queue into sub queues of the length N.
A) SCAN
B) C-SCAN
C) N-Step SCAN✔
D) FSCAN

Q. Which of the following are the functions of operating system?
i) recovering from errors ii) facilitating input/output
iii) facilitating parallel operation iv) sharing hardware among users
v) implementing user interface
A) i, ii, ii, and v only
B) i, ii, iii, and iv only
C) ii, iii, iv and v only
D) All i, ii, iii, iv and v✔

Operating systems Set6

Q. File management function of the operating system includes
i) File creation and deletion ii) Disk scheduling
iii) Directory creation iv) Mapping file in secondary storage.
A) i, ii and iii only
B) i, iii and iv only✔
C) ii, iii and iv only
D) All i, ii, iii and iv

Q. The ……………. Determines when a page should be brought into main memory.
A) Fetch policy✔
B) Placement policy
C) Replacement policy
D) Resident set management

Q. With …………………. A page is written out to secondary memory only when it has been selected for replacement.
A) pre-cleaning
B) demand cleaning✔
C) required cleaning
D) fast cleaning

 

Read Also:

Top Computer Programming Questions For Interviews

 

Share Story On Your Favorite Platform !