Operating Systems MCQs

20 practice MCQs on this page Page 13 of 15

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

Computer ScienceOperating Systems PPSCID: LTP-8779

Which command lists files in a directory in Linux?

  1. Adir
  2. Blist
  3. Cshow
  4. Dls ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-8780

Which Linux command changes the current directory?

  1. Acd ✓ Correct answer
  2. Bls
  3. Cpwd
  4. Dmkdir
Computer ScienceOperating Systems PPSCID: LTP-8781

Which Linux command creates a new directory?

  1. Acd
  2. Bmkdir ✓ Correct answer
  3. Crm
  4. Dcp
Computer ScienceOperating Systems PPSCID: LTP-8782

Which Linux command removes a file?

  1. Adel
  2. Berase
  3. Crm ✓ Correct answer
  4. Dcut
Computer ScienceOperating Systems PPSCID: LTP-8783

Which Linux command copies a file?

  1. Acopy
  2. Bmv
  3. Cpaste
  4. Dcp ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-8784

What is swap space in an operating system?

  1. ADisk space used as virtual memory when RAM is full ✓ Correct answer
  2. BSpace reserved for the recycle bin
  3. CSpace used by the web browser
  4. DSpace for temporary internet files
Computer ScienceOperating Systems PPSCID: LTP-8785

What is a GUI?

  1. AA type of computer virus
  2. BGraphical User Interface, using windows, icons and menus ✓ Correct answer
  3. CA programming language
  4. DA network protocol
Computer ScienceOperating Systems PPSCID: LTP-8786

What is a CLI?

  1. AA type of monitor
  2. BA computer virus
  3. CCommand Line Interface, where the user types text commands ✓ Correct answer
  4. DA file format
Computer ScienceOperating Systems PPSCID: LTP-8788

What is the Windows Registry?

  1. AA database that stores settings for Windows and its programs ✓ Correct answer
  2. BA list of installed fonts
  3. CA folder for documents
  4. DA type of antivirus
Computer ScienceOperating Systems PPSCID: LTP-8789

Which key combination opens the Task Manager in Windows?

  1. AAlt + Tab
  2. BCtrl + Shift + Esc ✓ Correct answer
  3. CCtrl + C
  4. DWindows + R
Computer ScienceOperating SystemsID: OS-001

Which page replacement algorithm removes the page that has not been used for the longest time?

  1. AFirst In First Out (FIFO)
  2. BLeast Recently Used (LRU) ✓ Correct answer
  3. COptimal
  4. DLast In First Out (LIFO)
Computer ScienceOperating SystemsID: OS-002

Which page replacement algorithm can show Belady's anomaly, where giving a process more frames increases the number of page faults?

  1. AFirst In First Out (FIFO) ✓ Correct answer
  2. BLeast Recently Used (LRU)
  3. COptimal
  4. DClock
Computer ScienceOperating SystemsID: OS-003

Which kind of fragmentation leaves free memory split into many small blocks that are too small to use, even though their total is enough?

  1. AInternal fragmentation
  2. BThrashing
  3. CExternal fragmentation ✓ Correct answer
  4. DSegmentation
Computer ScienceOperating SystemsID: OS-004

Which paging technique loads a page into memory only when the program actually needs it?

  1. ADemand paging ✓ Correct answer
  2. BPre-paging
  3. CSwapping
  4. DSpooling
Computer ScienceOperating SystemsID: OS-005

What is the set of pages that a process is actively using called?

  1. APage table
  2. BFrame set
  3. CSegment table
  4. DWorking set ✓ Correct answer
Computer ScienceOperating SystemsID: OS-006

Which page replacement algorithm removes the page that will not be used for the longest time in the future?

  1. AFirst In First Out (FIFO)
  2. BLeast Recently Used (LRU)
  3. COptimal ✓ Correct answer
  4. DSecond chance
Computer ScienceOperating SystemsID: OS-007

Which time is measured from the moment a job is submitted until the moment it completes?

  1. AWaiting time
  2. BTurnaround time ✓ Correct answer
  3. CResponse time
  4. DBurst time
Computer ScienceOperating SystemsID: OS-008

Which time is measured from the moment a job is submitted until the moment the system first responds to it?

  1. ATurnaround time
  2. BWaiting time
  3. CThroughput
  4. DResponse time ✓ Correct answer
Computer ScienceOperating SystemsID: OS-009

Which kind of scheduling lets the operating system take the CPU away from a running process before it finishes?

  1. ANon-preemptive scheduling
  2. BPreemptive scheduling ✓ Correct answer
  3. CBatch scheduling
  4. DCooperative scheduling
Computer ScienceOperating SystemsID: OS-010

In FCFS scheduling, what is the effect called when short processes wait behind one long process?

  1. AStarvation
  2. BThrashing
  3. CDeadlock
  4. DConvoy effect ✓ Correct answer

Practice these MCQs interactively