Computer Systems 6.1&6.2

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

1/15

flashcard set

Earn XP

Description and Tags

Notes from 6.1 and 6.2

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

What is the primary role of the Operating System (OS)?

To act as an intermediary between the user/applications and the computer hardware.

2
New cards

Name three core functions of an Operating System.

Memory Management, Peripheral Management, Multitasking, Security, and User Interface.

3
New cards

What is the Kernel in an Operating System?

The core component that has complete control over the system and operates with the highest level of privileges in Kernel Space.

4
New cards

What is the main characteristic of a Monolithic Kernel?

All essential services (drivers, file system, etc.) run together in one large block within Kernel Space.

5
New cards

What is the key advantage of a Monolithic Kernel?

Better performance due to low communication overhead.

6
New cards

Why is a Microkernel generally considered more stable than a Monolithic kernel?

Services like device drivers run in User Space, isolating them so a crash in one service doesn't crash the entire kernel.

7
New cards

What is the main drawback of the Microkernel design?

Performance overhead because user space services must use system calls to communicate with the core kernel.

8
New cards

Which kernel design architecture attempts to balance speed and stability by placing only key services in the kernel?

The Hybrid Kernel.

9
New cards

What is the definition of a Process in an operating system?

An instance of a computer program being executed, including its code, data, and resources.

10
New cards

In the process life cycle, what does the Ready state mean?

The process is loaded into RAM and is waiting to be assigned to the CPU for execution.

11
New cards

What causes a process to transition into the Waiting (or Blocked) state?

It is waiting for an I/O event to be completed (e.g., disk read, printer output).

12
New cards

What data structure is maintained by the OS to store all management information for a single process?

The Process Control Block (PCB).

13
New cards

Name two crucial pieces of information stored in the Process Control Block (PCB).

Process State, Program Counter (PC), or CPU Register values.

14
New cards

What is a quantum (or time slice) in process scheduling?

A fixed amount of CPU time given to a process before it is switched out.

15
New cards

What is the operational mechanism used to switch the CPU from one process to another?

A Context Switch.

16
New cards

Why is saving the data of a suspended process into its PCB important during a Context Switch?

It ensures the process can resume exactly where it left off without losing any data.