Operating Systems Practice Flashcards

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

1/67

flashcard set

Earn XP

Description and Tags

Comprehensive vocabulary flashcards covering basic system organization, protection, processes, scheduling, memory management, I/O, and the Linux case study.

Last updated 6:27 PM on 5/21/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

68 Terms

1
New cards

Operating system

Software that controls and coordinates the use of hardware resources among various application programs for various users.

2
New cards

Fetch-Execute Cycle

The cycle where the CPU repeatedly fetches and decodes the next instruction, generating control signals and operand information.

3
New cards

Arithmetic Logic Unit (ALU)

A functional unit inside the Execution Unit that reads registers, performs operations, and writes results back.

4
New cards

Bus

Shared communication wires used to transfer information between the CPU, memory, and devices.

5
New cards

Bootstrap program

A bootloader, traditionally stored in ROM as BIOS or now UEFI, that initializes the system and loads the kernel when the machine is powered on.

6
New cards

Interrupt vector

A table containing the addresses of all the Interrupt Service Routines (ISRs) used to handle raised interrupts.

7
New cards

Trap (Exception)

A software-generated interrupt caused either by an error or a deliberate user request.

8
New cards

Word

A computer architecture's native unit of data, typically comprising one or more bytes, such as 6464-bit for a 6464-bit register architecture.

9
New cards

Kilobyte (kB)

A unit of storage equal to 1,0241,024 bytes (2102^{10} bytes).

10
New cards

Layering

A means to manage complexity by arranging components in a stack and restricting interactions to adjacent layers.

11
New cards

Multiplexing

A method where one resource is consumed by multiple consumers simultaneously.

12
New cards

Latency

A metric of system performance defined by how long a specific operation takes to complete.

13
New cards

Bandwidth

The rate at which operations or data transfers occur, also known as throughput.

14
New cards

Jitter

The variation or statistical dispersal in latency or frequency.

15
New cards

Caching

The use of a small amount of higher-performance storage to mask the performance impact of a lower-performance component.

16
New cards

Buffering

The introduction of memory between two components to soak up small, variable imbalances in bandwidth.

17
New cards

80/20 rule

A system concept stating that 80%80\% of time is typically spent in 20%20\% of the code.

18
New cards

Kernel

The core program of the operating system that always runs on the computer, providing mechanisms to implement policies.

19
New cards

Dual-mode operation

A hardware-supported method using a mode bit to distinguish between User mode and Kernel mode to protect the system from buggy or malicious code.

20
New cards

System Call

A standard interface to OS services, invoked via a trap, that transitions the CPU from user mode to kernel mode.

21
New cards

Microkernel

A kernel architecture that moves OS services into local servers and relies on message passing for communication.

22
New cards

Virtulization

A technology allowing multiple operating systems to run alongside each other above a hypervisor.

23
New cards

Principle of least privilege

A security principle stating that objects should be given just enough privileges to perform their tasks.

24
New cards

Access Control List (ACL)

An implementation of an access matrix organized by object, storing an ordered list of domains and their rights.

25
New cards

Capability

An implementation of an access matrix organized by domain, acting as a protected, unmodifiable secure pointer to an object and its permitted operations.

26
New cards

Salt

Data used in authentication to hash passwords, making them easy to compute but hard to invert.

27
New cards

Process

A program in execution; a dynamic unit of protection and resource allocation.

28
New cards

Process Control Block (PCB)

A data structure representing a process, containing its ID, state, program counter, registers, and memory management information.

29
New cards

Thread

An individual execution context within a process, sharing the process's address space but having its own stack and program counter.

30
New cards

Context switching

The process of saving the context of a currently executing process and restoring the context of a new process being resumed.

31
New cards

Zombie process

A process that has finished executing but whose parent has not yet waited for it to obtain its status.

32
New cards

Inter-Process Communication (IPC)

Mechanisms allowing processes to communicate and synchronize their actions, primarily through shared memory or message passing.

33
New cards

Signal

A simple form of IPC consisting of asynchronous notifications sent between processes.

34
New cards

CPU I/O Burst Cycle

The pattern of process execution that interleaves CPU execution with waiting for I/O.

35
New cards

Short-term scheduler

The CPU scheduler that selects which process from the ready queue should execute next and allocates the CPU to it.

36
New cards

Dispatcher

The module that gives control of the CPU to the process selected by the short-term scheduler, involving a context switch.

37
New cards

Pre-emptive scheduling

Scheduling where the OS can force a process to enter the scheduler via hardware-supported timer interrupts.

38
New cards

Symmetric multiprocessing (SMP)

A multiprocessing architecture where each processor is self-scheduling and all processes can inhabit a single ready queue.

39
New cards

Non-Uniform Memory Access (NUMA)

A system where different CPUs have varying access speeds to different parts of memory, affecting processor affinity.

40
New cards

First-Come First-Served (FCFS)

A scheduling algorithm where processes are executed in the order they arrive, which can lead to the 'convoy effect'.

41
New cards

Shortest Job First (SJF)

An optimal scheduling algorithm that selects the process with the shortest next CPU burst to minimize average waiting time.

42
New cards

Round Robin (RR)

A pre-emptive scheduling scheme where each process is given a fixed time slice (quantum) and returned to the ready queue if not finished.

43
New cards

Aging

A technique in priority scheduling where the priority of a process increases as it waits, used to prevent starvation.

44
New cards

Completely Fair Scheduler (CFS)

The Linux scheduler since version 2.6.232.6.23 that allocates CPU weighting to tasks based on a 'vruntime' variable to ensure proportional fairness.

45
New cards

Memory Management Unit (MMU)

Hardware that maps logical (virtual) addresses to physical addresses at run time.

46
New cards

External Fragmentation

A condition where total free memory exists to satisfy a request, but it is not contiguous.

47
New cards

Internal Fragmentation

A condition where allocated memory is slightly larger than the requested amount, leaving unused space within a partition.

48
New cards

Paging

A memory management scheme that divides physical memory into frames and logical memory into pages to allow non-contiguous allocation.

49
New cards

Translation Lookaside Buffer (TLB)

A special hardware cache used to speed up the translation of logical page numbers to physical frame numbers.

50
New cards

Demand paging

A system where a page is only brought into memory when a reference is made to it, causing a page fault if it is non-resident.

51
New cards

Copy-on-Write (COW)

An optimization where parent and child processes initially share the same pages until one process modifies a page, at which point the page is copied.

52
New cards

Bélády’s Anomaly

The counter-intuitive phenomenon where increasing the number of physical frames results in more page faults, seen in FIFO replacement.

53
New cards

Thrashing

A state where a process spends more time handling page faults than executing instructions because it lacks enough page frames.

54
New cards

Direct Memory Access (DMA)

A technique allowing high-speed I/O devices to transfer blocks of data directly to or from main memory without continuous CPU intervention.

55
New cards

Vectored I/O

A scatter-gather method allowing a single system call to perform multiple I/O operations into multiple buffers.

56
New cards

Shortest Seek Time First (SSTF)

A disk scheduling algorithm that services the request with the shortest distance from the current head position.

57
New cards

Inode

A data structure in UNIX file systems that acts as a File Control Block, containing pointers to data blocks and file metadata.

58
New cards

Superblock

A filesystem component containing metadata such as total and free blocks and the start of free-block lists.

59
New cards

Mounting

The process of making a filesystem accessible by attaching it to a specific mount-point in the global directory tree.

60
New cards

Slab allocation

A kernel memory allocation method that uses a cache for frequently used objects to improve efficiency.

61
New cards

Virtual File System (VFS)

An abstraction layer in the Linux kernel that manages different file systems using common objects like inodes, files, and dentries.

62
New cards

Pipe

A method for passing information from one process to another in Unix-like systems, facilitating inter-process communication (IPC).

63
New cards

Named Pipe (FIFO)

A type of pipe that allows unrelated processes to communicate with each other by creating a special file in the filesystem known as a FIFO.

64
New cards

Anonymous Pipe

A type of pipe used for communication between related processes, such as a parent and child process, without requiring a name in the filesystem.

65
New cards

Pipe Buffer

A temporary storage area for data being transmitted through a pipe, allowing data to be read and written asynchronously.

66
New cards

Stream

A continuous flow of data that can be sent or received through pipes, sockets, or files, allowing processing of data in a sequential manner.

67
New cards

Blocking I/O

An input/output operation that halts the execution of a process until the operation is complete, often used in conjunction with pipes.

68
New cards

Non-blocking I/O

An input/output operation that allows a process to continue executing while the operation completes, often used in event-driven or asynchronous programming.