Questions: Operating System Design Principles

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A database system bypasses the OS file system and directly manages disk blocks itself. Which OS design principle best explains why a database might choose to do this?

AProtection — the database needs to prevent other processes from accessing its data
BResource management — the database wants fair CPU scheduling for its queries
CAbstraction — the file system abstraction imposes an impedance mismatch that hurts performance
DFairness — the OS's allocation policy treats the database the same as other processes
Question 2 Multiple Choice

Which OS design principle most directly explains why application programs cannot execute privileged CPU instructions directly?

AAbstraction — applications should not need to know about CPU instruction sets
BResource management — the CPU must be shared fairly among all processes
CPerformance — privileged instructions execute more slowly from user mode
DProtection — preventing applications from accessing hardware they are not authorized to use
Question 3 True / False

Strict round-robin scheduling that gives equal CPU time to all processes can reduce overall system throughput compared to priority-based scheduling.

TTrue
FFalse
Question 4 True / False

Abstraction typically improves OS performance because it hides hardware complexity, allowing the OS to optimize underneath without applications knowing.

TTrue
FFalse
Question 5 Short Answer

Explain why protection and performance are in tension in operating system design.

Think about your answer, then reveal below.