Operating Systems MCQs

20 practice MCQs on this page Page 14 of 15

Tap an option to check your answer — the correct answer and full explanation appear after you choose.

Computer ScienceOperating SystemsID: OS-011

Which scheduling scheme keeps several ready queues and moves a process between them according to how it behaves?

  1. AFirst Come First Served
  2. BPriority scheduling
  3. CRound Robin
  4. DMultilevel feedback queue ✓ Correct answer
Computer ScienceOperating SystemsID: OS-012

Which way of handling deadlock makes sure that at least one of the four Coffman conditions can never hold?

  1. ADeadlock prevention ✓ Correct answer
  2. BDeadlock avoidance
  3. CDeadlock detection
  4. DDeadlock recovery
Computer ScienceOperating SystemsID: OS-013

What is a state called in which there is some order for every process to get what it still needs and finish?

  1. ADeadlock state
  2. BUnsafe state
  3. CSafe state ✓ Correct answer
  4. DBlocked state
Computer ScienceOperating SystemsID: OS-014

Which graph is used to detect a deadlock when each resource has only one instance?

  1. AResource allocation graph ✓ Correct answer
  2. BPage table
  3. CProcess tree
  4. DFile directory
Computer ScienceOperating SystemsID: OS-015

Which deadlock recovery method takes a resource away from one process and gives it to another?

  1. AAdding more memory
  2. BIncreasing the time quantum
  3. CResource preemption ✓ Correct answer
  4. DRestarting the printer
Computer ScienceOperating SystemsID: OS-016

Which Coffman condition is broken by numbering every resource and always taking them in increasing order?

  1. AMutual exclusion
  2. BHold and wait
  3. CNo preemption
  4. DCircular wait ✓ Correct answer
Computer ScienceOperating SystemsID: OS-017

What is it called when the result of two processes depends on the order in which they run?

  1. ADeadlock
  2. BRace condition ✓ Correct answer
  3. CStarvation
  4. DThrashing
Computer ScienceOperating SystemsID: OS-018

What is the part of a program that accesses a shared resource called?

  1. ACritical section ✓ Correct answer
  2. BDead code
  3. CKernel section
  4. DUser section
Computer ScienceOperating SystemsID: OS-019

What is a process called that has finished running, but whose entry is still in the process table because its parent has not read its exit status yet?

  1. AOrphan process
  2. BZombie process ✓ Correct answer
  3. CDaemon process
  4. DChild process
Computer ScienceOperating SystemsID: OS-020

What is a process called whose parent has finished before it, so it is adopted by the init process?

  1. AThread
  2. BDaemon process
  3. CZombie process
  4. DOrphan process ✓ Correct answer
Computer ScienceOperating SystemsID: OS-021

In which file allocation method is a file stored in consecutive blocks on the disk?

  1. ALinked allocation
  2. BIndexed allocation
  3. CContiguous allocation ✓ Correct answer
  4. DClustered allocation
Computer ScienceOperating SystemsID: OS-022

In which file allocation method does an index block hold the addresses of all the blocks of a file?

  1. AContiguous allocation
  2. BLinked allocation
  3. CIndexed allocation ✓ Correct answer
  4. DSequential allocation
Computer ScienceOperating SystemsID: OS-023

Which file access method reads records one after another, in order, from the start?

  1. ADirect access
  2. BSequential access ✓ Correct answer
  3. CIndexed access
  4. DRandom access
Computer ScienceOperating SystemsID: OS-024

In Linux, which structure stores the metadata of a file, such as its size, owner and the addresses of its blocks?

  1. AFile Allocation Table
  2. BInode ✓ Correct answer
  3. CMaster File Table
  4. DBoot sector
Computer ScienceOperating SystemsID: OS-025

Which file system is designed for USB flash drives and supports files larger than 4 GB?

  1. ANTFS
  2. Bext4
  3. CexFAT ✓ Correct answer
  4. DAPFS
Computer ScienceOperating SystemsID: OS-026

Which operating system manages a group of separate computers so that they work together as one system?

  1. ABatch operating system
  2. BDistributed operating system ✓ Correct answer
  3. CEmbedded operating system
  4. DReal-time operating system
Computer ScienceOperating SystemsID: OS-027

Which operating system manages resources over a network and provides services such as file sharing and printing to other computers?

  1. ANetwork operating system ✓ Correct answer
  2. BBatch operating system
  3. CEmbedded operating system
  4. DSingle-user operating system
Computer ScienceOperating SystemsID: OS-028

In which kind of real-time system does missing a deadline cause the whole system to fail?

  1. ASoft real-time system
  2. BBatch system
  3. CHard real-time system ✓ Correct answer
  4. DTime-sharing system
Computer ScienceOperating SystemsID: OS-029

In which kind of kernel do all operating system services run in kernel space?

  1. AMicrokernel
  2. BMonolithic kernel ✓ Correct answer
  3. CHybrid kernel
  4. DExokernel
Computer ScienceOperating SystemsID: OS-030

In which kind of kernel do only the basic services run in kernel space, with the rest running as ordinary programs in user space?

  1. AMonolithic kernel
  2. BMicrokernel ✓ Correct answer
  3. CShell
  4. DLoader

Practice these MCQs interactively