Operating System Fundamentals - Lecture Notes Review

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

1/41

flashcard set

Earn XP

Description and Tags

A comprehensive set of Q&A flashcards covering OS Functions, architectures (monolithic, layered, microkernel, modular), distributed systems, user vs kernel modes, interfaces, and core concepts like multitasking, system calls, and open vs closed source.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

42 Terms

1
New cards

What are the six major management areas of an operating system?

Process management; memory management; device management; file system management; network management; and security & protection.

2
New cards

What does Process Management do?

Creates, schedules, and terminates processes; ensures efficient execution.

3
New cards

What does Memory Management do?

Allocates/deallocates memory; decides how much memory each process needs.

4
New cards

What does Device Management do?

Provides standardized device drivers; hides hardware complexities.

5
New cards

What does File System Management do?

Organizes files in a hierarchical structure; handles create, delete, read, write, move.

6
New cards

What does Network Management do?

Manages network protocols (e.g., TCP/IP) for data transmission.

7
New cards

What does Security & Protection do?

Verifies identity and enforces access permissions.

8
New cards

How is an operating system defined?

System software that acts as an intermediary between hardware and users, manages resources impartially, and provides a platform for application software.

9
New cards

What effect does OS structure have on a system?

Influences performance, security, and flexibility by determining how components are organized and interact.

10
New cards

What is a Monolithic Kernel?

All kernel components reside in a single large block of code; components communicate directly.

11
New cards

What are the advantages of a Monolithic Kernel?

High performance due to direct component communication; small footprint.

12
New cards

What are the disadvantages of a Monolithic Kernel?

Low modularity; security risk; debugging difficulty due to a large codebase.

13
New cards

What is a Layered Structure in OS design?

Components are divided into distinct layers that interact only with adjacent layers, improving modularity (e.g., process, memory, I/O).

14
New cards

What is a Microkernel?

Only essential functions (e.g., IPC, memory management) reside in the kernel; other services run as user-space servers.

15
New cards

What are the advantages of a Microkernel?

High modularity; reduced attack surface; reliability; easier debugging.

16
New cards

What are the disadvantages of a Microkernel?

Performance overhead due to message passing; complex IPC; potential instability if modules are poorly designed.

17
New cards

What is a Kernel Module?

Kernel functions that are loadable modules and can be dynamically loaded/unloaded while the kernel is running.

18
New cards

What is the typical layer order shown in the layered architecture (Page 3 diagram)?

Application → File System → IPC → I/O & Device Management → Virtual Memory → Process Management (on top of hardware).

19
New cards

What are the advantages of the layered stack?

Improved modularity; easier debugging; flexibility; improved security due to isolation.

20
New cards

What are the disadvantages of the layered stack?

Performance overhead from inter-layer communication; complex design; potential bottlenecks if communication is inefficient.

21
New cards

What is a Distributed Operating System?

Nodes share local resources and communicate via message-passing (e.g., device drivers, CPU, memory, storage).

22
New cards

What are the advantages of a Distributed OS?

High availability; scalability; resource sharing; improved performance from parallelism.

23
New cards

What are the disadvantages of a Distributed OS?

Complex design and implementation; network dependency; security challenges; synchronization issues among nodes.

24
New cards

What is User Mode vs Kernel Mode?

User mode has limited access for security; kernel mode has full access and runs OS core functions.

25
New cards

What happens during a mode switch when an application saves a file (example)?

The application makes a system call, causing a switch from user mode to kernel mode; the kernel performs the operation and returns to user mode.

26
New cards

What are the roles of Kernel, Shell, and File System in OS components?

Kernel manages hardware resources, process execution, and security; Shell provides a user interface; File System organizes and stores files (e.g., Ext4, NTFS, FAT32).

27
New cards

What is the flow when a user process calls a system call?

User process → system call interface → kernel → return to user process.

28
New cards

What is the flow shown for Users → Shell → Kernel → Hardware?

Users interact with the shell, which invokes kernel services, which access hardware.

29
New cards

What are the main types of user interfaces listed?

CLI (text-based like Bash, Zsh, PowerShell); GUI (windowed); Touch-screen gestures; Voice (e.g., Siri, Alexa); Web forms.

30
New cards

What is a system call?

The primary interface for a process to request kernel services (e.g., open(), read()).

31
New cards

How do system calls relate to APIs?

System calls are the kernel interfaces; APIs provide higher-level interfaces (Windows API, POSIX API, Java API) that map to system calls.

32
New cards

What are core OS concepts listed?

Multitasking; Multiprogramming; Time-Sharing; Buffering; Application Programming Interface (API).

33
New cards

What are examples of closed-source vs open-source operating systems?

Closed-source: Windows, macOS, iOS, Android. Open-source: Linux, BSD, Chrome OS.

34
New cards

What are common APIs for OS programming mentioned?

Windows API, POSIX API, Java API.

35
New cards

What is buffering in OS concepts?

Temporary storage to smooth data transfer rates (e.g., a download buffer).

36
New cards

What is spooling in OS concepts?

Data queued on disk for devices that process at their own pace (e.g., print queue).

37
New cards

What is caching in OS concepts?

Frequently accessed data kept in fast memory for quicker access (e.g., browser caches web pages).

38
New cards

Where are buffering, spooling, and caching typically located and what data types do they handle?

Buffering — memory; Spooling — disk; Caching — RAM; Handles temporary data, disk queues, and frequently accessed data respectively.

39
New cards

What file systems are listed in the notes?

Ext4, NTFS, FAT32.

40
New cards

Why is open-source software advantageous?

High adaptability, rapid innovation, and community support.

41
New cards

What licensing types are mentioned?

GPL, MIT, Apache.

42
New cards

What is the difference between open-source and closed-source licensing as per the notes?

Closed-source is proprietary and vendor-locked; open-source is publicly available and modifiable.