Chapter 1 - Introduction

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

26 Terms

1
New cards

What are the two primary roles of an operating system?

Resource allocator (manages CPU, memory, storage, I/O efficiently) and Control program (controls execution and prevents system-wide crashes).

2
New cards

What three types of management does an OS handle?

Process management, Memory management, and Storage management.

3
New cards

What does an operating system provide to users and applications?

A convenient user interface, system calls, and abstraction of hardware complexity.

4
New cards

Who can be considered a user in a computer system?

A single human, multiple users, or another computer/automated system.

5
New cards

What are system calls and why are they important?

System calls allow applications to request services from the OS while enforcing protection and limiting direct hardware access.

6
New cards

What are the main software layers in a computer system?

Application programs, System programs, OS kernel, and Middleware.

7
New cards

What is the OS kernel?

The core management code that runs in memory with elevated privileges and controls critical system operations.

8
New cards

What are system programs?

Utility programs such as shells, compilers, and editors that support the system and are replaceable.

9
New cards

What hardware components make up a computer system?

CPU, RAM, SSD/HDD, I/O devices, and device controllers connected via a system bus.

10
New cards

What is a device controller?

Hardware that manages a specific device using local buffers and control logic, controlled by device drivers.

11
New cards

How does data move between memory and devices?

The CPU transfers data between main memory and device controller buffers.

12
New cards

What is an interrupt?

A signal that pauses CPU execution to handle an event such as a key press or device completion.

13
New cards

What is an interrupt vector?

A table that tells the system which interrupt handler to execute for each interrupt.

14
New cards

What is a software interrupt?

An interrupt triggered by software when the CPU requires OS handling, commonly used by system calls.

15
New cards

What is user mode?

Execution mode where applications run with limited privileges and restricted hardware access.

16
New cards

What is kernel mode?

Privileged execution mode where the OS performs protected operations after system calls.

17
New cards

What is firmware and what does it do at startup?

Firmware (e.g., BIOS) runs a bootstrap program stored in flash memory that loads the OS kernel.

18
New cards

What are daemons?

Background services that provide system functionality outside the kernel.

19
New cards

How are OS kernels typically driven?

They are interrupt-driven and respond to events by switching modes and executing handlers.

20
New cards

What is process management responsible for?

Creating, deleting, suspending processes, scheduling, IPC, and deadlock prevention.

21
New cards

What does a job scheduler do?

Determines which process runs next on the CPU.

22
New cards

What is caching?

Using small, fast memory to store frequently or predictively accessed data for faster performance.

23
New cards

What is the storage hierarchy?

Organization from fast small storage (registers, RAM) to slower large storage (SSD/HDD).

24
New cards

What does volatile memory mean?

Memory that loses its contents when power is removed.

25
New cards

What is the role of the file system?

Manages non-volatile data stored on secondary storage.

26
New cards

Why are protection and security important in OS design?

They prevent unauthorized access and ensure safe interaction between system components.