Questions: Introduction to Operating Systems

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A program compiled on macOS runs without modification on a new Mac that uses a completely different SSD controller and storage architecture. Which fundamental role of the operating system makes this possible?

AResource management — the OS schedules the program's disk requests efficiently
BProtection — the OS prevents the program from overwriting the SSD controller firmware
CAbstraction — the OS presents a uniform interface (like a file system) that hides hardware differences
DScheduling — the OS gives the program CPU time regardless of hardware generation
Question 2 Multiple Choice

Without OS memory protection, what would happen when multiple programs run simultaneously on the same computer?

APrograms would run more slowly because they must negotiate access to shared memory
BPrograms could accidentally or maliciously read and overwrite each other's memory, corrupting data and potentially crashing each other
CThe computer would only allow one program to run at a time until protection was re-enabled
DPrograms would be unable to access the network or disk without kernel permission
Question 3 True / False

The system call interface is the boundary between user-level programs and the privileged OS kernel, allowing programs to request hardware services without directly accessing hardware.

TTrue
FFalse
Question 4 True / False

Without an operating system, well-written programs that are carefully designed to avoid conflicts could safely share hardware resources simultaneously.

TTrue
FFalse
Question 5 Short Answer

Why can't application programs simply manage hardware themselves, and what problem does the OS solve that software discipline alone cannot?

Think about your answer, then reveal below.