Computing and Information Technology

Operating Systems Practice Exam, Flashcards & Questions

Master foundational to advanced Operating Systems with 457 verified curriculum items, worked engineering solutions, and spaced-repetition cards.

343 Total Questions 164 MCQs 93 Calculations 5 Formulas 81 Flashcards
Free Interactive Preview

Operating Systems Sample Exam Questions & Rationale

Preview official questions below. The complete pool of 343 items is available in the offline app.

Question 1 of 4 Address translation and TLB

During virtual-to-physical address translation in a paging system, which portion of the virtual address bitfield passes into the physical address completely unaltered?

A Access privilege bits
B Page table directory index
C Page offset
D Virtual page number
Accepted Answer: Option C (Page offset)

Rationale: Because pages and frames are of identical size, the offset within the page is identical to the offset within the physical frame.

Question 2 of 4 Disk scheduling

Which disk head scheduling algorithm is especially vulnerable to starvation for requests located far from the current head trajectory?

A First-Come First-Served (FCFS)
B Shortest Seek Time First (SSTF)
C Circular SCAN (C-SCAN)
D Elevator algorithm (SCAN)
Accepted Answer: Option B (Shortest Seek Time First (SSTF))

Rationale: SSTF preferentially services nearby requests, so a continuous stream of close requests can starve requests at outer or inner cylinders indefinitely.

Question 3 of 4 File allocation methods

Which file disk allocation method provides optimal sequential and direct access speeds but suffers severely from external disk fragmentation and rigid file size limits?

A Contiguous allocation
B Linked allocation
C Inverted hash allocation
D Indexed allocation
Accepted Answer: Option A (Contiguous allocation)

Rationale: Contiguous allocation places all file blocks in consecutive disk sectors, making head movement minimal, but allocating contiguous space causes severe external fragmentation.

Question 4 of 4 File systems

Which Unix filesystem data structure stores file metadata, permissions, owner ID, size, and disk block pointers, but explicitly excludes the file name?

A Inode
B Superblock
C Directory entry
D Master Boot Record
Accepted Answer: Option A (Inode)

Rationale: In Unix filesystems, an inode stores all metadata and data block pointers for a file; the mapping from filename to inode number is stored in directory entries.

Active Recall Spaced Repetition Cards (Preview)

Card 1 • Address translation and TLB
Stores recent virtual-to-physical address mappings to accelerate memory references is the {{c1::Translation Lookaside Buffer (TLB)}}.
The TLB allows the MMU to determine the physical frame address in parallel without querying main memory page tables.
Card 2 • Disk scheduling
That selects pending requests closest to the current head position to minimize seek time is {{c1::Shortest Seek Time First (SSTF)}}.
SSTF minimizes instantaneous seek time, but may cause starvation for distant requests.

Operating Systems Curriculum Modules & Topics Covered

Modules
Memory and StorageProcessesSystems DesignScheduling and Concurrency Calculations
Core Exam Topics
  • Disk scheduling
  • Page replacement algorithms
  • Process states
  • Scheduling
  • Concurrency
  • Deadlocks
  • Process control block
  • Context switching
  • Inter-process communication
  • Synchronization (mutex and semaphore)
Learning Objectives
  • Develop core conceptual recall and analytical problem-solving in Memory and Storage.
  • Develop core conceptual recall and analytical problem-solving in Processes.
  • Develop core conceptual recall and analytical problem-solving in Systems Design.
  • Develop core conceptual recall and analytical problem-solving in Scheduling and Concurrency Calculations.

Free Downloadable Operating Systems Study Packs (.ZIP / .TSV)

Full Spreadsheet Data (TSV)
TSV • 343 items
Complete Course Pack
ZIP • 343 items
Elements (Standard)
ZIP • 343 items
Active Recall Flashcards
ZIP • 343 items
Formula Codex
ZIP • 343 items
Problem Solving (Complete)
ZIP • 343 items
Problem Solving (Mastery)
ZIP • 343 items
Problem Solving (Standard)
ZIP • 343 items
Artificial Intelligence (1,579) Artificial Intelligence and Machine Learning (507) Cloud Computing and DevOps (144) Compiler Design & Formal Languages (1,579) Computational Contact Mechanics: Penalty Function Method, Lagrange Multipliers & Mortar Contact Formulations (128) Computer Engineering & Algorithms (1,365)
Full Question Pool: 343 Verified Items

Unlock All 343 Operating Systems Practice Questions

Study the full question pool with 13 active recall battle modes, FSRS v5 spaced repetition, and 1-click printable PDF mock exams with full answer keys on Android and Windows PC.

Get on Google Play (Android) Get on Microsoft Store (Windows PC)