Operating System Overview

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/71

flashcard set

Earn XP

Description and Tags

Flashcards covering the key vocabulary and concepts of Operating Systems from the lecture notes.

Last updated 5:20 AM on 4/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

72 Terms

1
New cards

Operating System

A system software that manages all the resources of the computer and acts as an intermediary between an end user and the computer hardware.

2
New cards

GUI

Graphical User Interface, providing elements like windows, icons, menus, and toolbars for user interaction.

3
New cards

Efficiency (in OS)

Allows computer system resources to be used in an efficient manner.

4
New cards

Convenience (in OS)

Makes the computer more convenient to use.

5
New cards

Interface

An intermediary that facilitates interaction between application programs and hardware.

6
New cards

Program execution

The process where the OS prepares resources needed for executing a program.

7
New cards

I/O devices

Input/Output devices that the operating system manages for ease of use by programmers.

8
New cards

File management

The OS helps to create, delete, read, and write files while controlling access.

9
New cards

System access

Controls access to the system and specific resources to protect data from unauthorized access.

10
New cards

Error detection

The OS is responsible for detecting and handling errors that can arise from hardware or software.

11
New cards

Uniprogramming

A method where only a single program executes at a time.

12
New cards

Multiprogramming

Allows multiple programs to reside in main memory and execute concurrently.

13
New cards

Kernel

The core component of the operating system that performs essential OS services.

14
New cards

Shell

An interface that acts as a connection between the user and the operating system.

15
New cards

User Mode

The mode in which user applications run and do not have direct access to hardware.

16
New cards

Kernel Mode

The mode where the operating system has full access to hardware and system resources.

17
New cards

System Call

An interface between user applications and the operating system that allows requests for services.

18
New cards

Process

An instance of a program in execution.

19
New cards

Process Control Block (PCB)

A data structure containing important information about a process, created and managed by the OS.

20
New cards

Process States

The different states a process can be in: new, ready, running, blocked, terminated.

21
New cards

Context Switch

The process of saving the state of a currently running process and loading the state of another process.

22
New cards

Dispatcher

A program that switches the processor from one process to another, handling task distributions.

23
New cards

CPU bound process

A process that spends more time performing computations than waiting for I/O operations.

24
New cards

I/O bound process

A process that spends more time waiting for I/O operations than performing computations.

25
New cards

Process Creation

The OS creates processes and manages their resources when executing user programs.

26
New cards

Process Termination

The event where an active process ends its execution and frees its allocated resources.

27
New cards

Process Scheduling

The method used by the OS to determine the execution order of processes.

28
New cards

Job Queue

A queue that contains all processes in the system.

29
New cards

Ready Queue

A queue of processes residing in memory that are ready to execute.

30
New cards

Long-term Scheduler

Also known as the job scheduler, it selects processes from the job queue to run.

31
New cards

Short-term Scheduler

Also known as the CPU scheduler, it selects processes from the ready queue for execution.

32
New cards

Throughput

The number of processes that complete their execution in a unit of time.

33
New cards

Turnaround time

The total time taken from process submission to its completion.

34
New cards

Waiting time

The amount of time a process has been waiting in the ready queue.

35
New cards

First-Come, First-Served (FCFS)

A non-preemptive scheduling algorithm where the first process to arrive gets executed first.

36
New cards

Shortest Job First (SJF) Scheduling

A scheduling algorithm that prioritizes processes with the shortest execution time.

37
New cards

Priority Scheduling

Allocates CPU to processes based on the priority assigned to each process.

38
New cards

Round Robin Scheduling (RR)

A preemptive scheduling algorithm assigning a fixed time slice to each process.

39
New cards

Multilevel Queue Scheduling

A scheduling method where different queues exist for different types of processes.

40
New cards

Semaphore

A synchronization tool used to manage access to shared resources and prevent race conditions.

41
New cards

Deadlock

A situation where two or more processes are waiting indefinitely for each other to release resources.

42
New cards

Mutual Exclusion (in deadlock prevention)

Only one process can use a resource at a time, preventing deadlock.

43
New cards

Hold and Wait (in deadlock conditions)

A process holding at least one resource while waiting for additional resources, allows potential deadlocks.

44
New cards

No Preemption (in deadlock conditions)

Resources allocated to a process cannot be forcibly taken away.

45
New cards

Circular Wait (in deadlock conditions)

A situation where a closed chain of processes exists where each process holds a resource that the next in the chain needs.

46
New cards

Deadlock Prevention

Techniques designed to ensure that at least one condition necessary for deadlock cannot occur.

47
New cards

Deadlock Avoidance

Dynamically deciding whether resource allocation might lead to a deadlock.

48
New cards

Banker’s Algorithm

An algorithm used to avoid deadlocks by checking the state of resource allocation.

49
New cards

Fragmentation

Unused memory space that occurs when processes are loaded and removed from memory.

50
New cards

Internal Fragmentation

Wasted space within an allocated memory block that cannot be utilized.

51
New cards

External Fragmentation

Memory is divided into small scattered blocks preventing large contiguous memory allocation.

52
New cards

Compaction

A technique for eliminating fragmentation by moving memory blocks closer together.

53
New cards

Paging

A memory management scheme eliminating the need for contiguous memory allocation.

54
New cards

Segmentation

A memory management technique dividing processes into variable-sized segments.

55
New cards

Virtual Memory

Technique that allows the execution of processes that may not be completely in memory.

56
New cards

Demand Paging

A memory management approach where pages are only loaded into RAM when needed.

57
New cards

Magnetic Disk

A storage device that uses magnetic material to store information on rotating platters.

58
New cards

Disk Scheduling

The method used by the operating system to manage the order of disk input/output requests.

59
New cards

FCFS (Disk Scheduling)

A disk scheduling algorithm that processes requests in the order they arrive.

60
New cards

SSTF (Shortest Seek Time First)

Disk scheduling that selects the request with the minimum seek time from the current head position.

61
New cards

SCAN (Disk Scheduling)

Disk scheduling method that moves the disk arm in one direction servicing requests.

62
New cards

C-SCAN (Circular SCAN)

Disk scheduling method that services requests in one direction and returns to the start without servicing on the return trip.

63
New cards

C-LOOK (Circular LOOK)

A variation of C-SCAN that only services requests as far as the last request in each direction.

64
New cards

Head Movement (in scheduling)

Distance the disk head must move to fulfill I/O requests.

65
New cards

Pros and Cons of Scheduling Algorithms

Each disk scheduling algorithm has unique advantages and disadvantages based on wait times, efficiency, and fairness.

66
New cards

Performance characteristics of mass-storage devices

Factors influencing how efficiently a storage device operates, including speed, capacity, and reliability.

67
New cards

Physical structure of secondary storage devices

The layout and components that make up devices like hard disks and SSDs.

68
New cards

Access time (Disk Characteristics)

The total time taken to access data from a storage device, including seek time and latency.

69
New cards

Seek time (Disk Characteristics)

The time it takes for the read/write head to move to the track of interest.

70
New cards

Rotational Latency (Disk Characteristics)

The delay waiting for the desired sector to rotate into position under the read/write head.

71
New cards

Head Crash (Disk Characteristics)

Damage caused when the read/write head comes into contact with the disk surface.

72
New cards

Secondary Storage Systems

Additional storage devices like hard drives, SSDs, and tapes used for data that does not require fast access.