Operating System Objective Question with Answers

(1) Fragmentation is
[A] fragments of memory words unused in a page
[B] fragments of memory words used in a page
[C] dividing the main memory into equal-sized fragments
[D] dividing the secondary memory into equal sized fragments

Comment

Answer: Option [A]
(2) Critical region is
[A] the portion of the main memory which can be accessed only by one process at a time
[B] a part of the operating system which is not allowed to be accessed by any process
[C] a set of instructions that access common shared resource which exclude one another in time
[D] none of the above

Comment

Answer: Option [C]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Article and Schedule Quiz Start Test!
(3) In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the RUNNING state to the
[A] READY state
[B] BLOCKED state
[C] TERMINATED state
[D] SUSPENDED state

Comment

Answer: Option [A]
(4) Pre-emptive scheduling, is the strategy of temporarily suspending a running process
[A] when it requests (I/O)
[B] to allow starving processes to run
[C] before the CPU time slice expires
[D] none of the above

Comment

Answer: Option [C]
(5) Some computer systems support dual mode operation—the user mode and the supervisor or monitor mode. These refer to the modes
[A] of memory access
[B] by which user programs handle their data
[C] by which the operating system executes user programs
[D] in which the processor and the associated hardware operate

Comment

Answer: Option [D]
(6) In Round Robin CPU scheduling, as the time quantum is increased, the average turn around
[A] remains constant
[B] varies irregularly
[C] increases
[D] decrease

Comment

Answer: Option [B]
(7) Suppose that a process is in ‘BLOCKED’ state waiting for some I/O service. When the service is completed, it goes to the
[A] RUNNING state
[B] READY state
[C] SUSPENDED state
[D] TERMINATED state

Comment

Answer: Option [B]
(8) To obtain better memory utilization, dynamic loading is used. With dynamic loading a routine is not loaded until it is called for. For implementing dynamic loading,
[A] special support from operating system is essential
[B] special support from hardware is essential
[C] special support from both hardware and operating system are essential
[D] user programs can implement dynamic loading without any special support from the operating system or the hardware.

Comment

Answer: Option [D]
(9) Semaphores are used to solve the problem of
[A] race condition
[B] mutual exclusion
[C] process synchronization
[D] Both (B) and (C)

Comment

Answer: Option [D]
(10) Dijkstra’s banking algorithm in an operating system solves the problem of
[A] mutual exclusion
[B] context switching
[C] deadlock avoidance
[D] deadlock recovery

Comment

Answer: Option [C]

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!