1/50
Comprehensive vocabulary flashcards covering Operating Systems architectures, concurrency, memory management, file systems, IPC, and Internetworking protocols (IP, VLSM, RIP, OSPF, BGP, DHCP, DNS, security).
Operating System (OS)
System software that manages computer hardware resources, controls execution, arbitrates resource sharing among concurrent processes, protects data from unauthorized access, and provides common services for application programs.
Kernel Mode
A privileged CPU execution mode (governed by the Program Status Word) in which the operating system has complete control over the machine and can execute privileged instructions such as I/O commands (IN, OUT) and interrupt handler definitions.
User Mode
An unprivileged CPU operational mode in which application-level programs run with restricted instruction access to prevent direct hardware manipulation and protect system stability.
Interrupt Handler
A specialized routine running in kernel mode that the CPU executes when an electrical or software interrupt signal is asserted, temporarily suspending the active program to service the event.
Process
An active program in execution comprising executable code (text section), global/static data (data section), dynamically allocated memory (heap), temporary function call storage (stack), a program counter, registers, and an isolated address space.
Process Control Block (PCB)
An operating system data structure maintained for every process that stores its complete execution state, including CPU registers, program counter, program status word, stack pointer, scheduling parameters, memory pointers, and I/O file descriptors.
Process States
The five lifecycle conditions of an operating system process: New (being created), Ready (waiting to be assigned to a CPU), Running (instructions currently executing), Blocked/Waiting (waiting for an event or I/O completion), and Terminated (execution finished).

Context Switching
The procedure performed by the dispatcher wherein the hardware registers and execution state of a running process are saved into its PCB, and the stored state of another scheduled process is loaded into the CPU to resume execution.
System Call
A programmatic request made by an application program to invoke privileged operating system services, implemented via a software trap or interrupt (such as INT SYSVEC) that transitions the CPU from user mode to kernel mode.
Thread
A sequential execution stream of instructions within a process that shares the address space, code, and global variables with peer threads, but maintains its own independent stack, program counter, and register set.
Race Condition
A non-deterministic situation where two or more threads compete to modify shared data simultaneously, producing corrupted structures or incorrect results that depend unpredictably on the exact execution ordering.
Critical Section
A code segment in a thread or process that accesses or updates shared resources (such as variables or files), which must not be executed concurrently by more than one thread at any given time.
Mutual Exclusion (ME)
A synchronization principle ensuring that when one thread or process is executing inside a critical section, all other threads are strictly excluded from entering their own critical sections on the same shared resource.
Peterson's Algorithm
A software-based mutual exclusion algorithm for two threads that guarantees both safety and progress without busy-wait deadlocks by combining shared interested Boolean flags and a turn variable yielded before entering the critical section.
Test and Set Lock (TSL)
A hardware-supported atomic instruction that reads the current value of a memory address into a register and writes a non-zero (true) value to it in a single, uninterruptible memory cycle.
Semaphore
A protected integer synchronization variable S accessed only through two atomic operations: P(S) (decrement, which blocks the thread if S=0) and V(S) (increment), with the invariant that S never drops below zero.
Deadlock
A condition in concurrent computing where a set of processes or threads wait indefinitely for events that can never occur because every member of the set holds a resource and waits for another resource held by another member in the set.
Resource Allocation Graph
A directed graph consisting of process nodes (circles) and resource nodes (squares), where an edge from a resource to a process indicates an assignment and an edge from a process to a resource indicates a request; directed cycles in the graph indicate deadlock.

Banker's Algorithm
A classic deadlock avoidance algorithm designed by Dijkstra (1965) that simulates resource allocation against declared maximum needs to determine whether granting a request preserves a safe state.
Pipe (IPC)
A unidirectional, stream-oriented inter-process communication channel in UNIX systems connecting two processes via a bounded kernel buffer (typically 64KB in Linux) supporting standard read and write system calls.

Berkeley Sockets API
A standard inter-process communication interface enabling bidirectional, stream-oriented or datagram data transfers between unrelated processes across a local machine or a network using IP addresses and port numbers.
Remote Procedure Call (RPC)
A procedure-oriented distributed communication paradigm (introduced by Birrell and Nelson in 1984) providing access-transparent call semantics that make remote network function calls appear syntactically identical to local subroutine invocations.
File Allocation Table (FAT)
A file system architecture where file content is stored in clusters and contiguous or non-contiguous data locations are maintained via linked lists of cluster entries stored within a dedicated table in a reserved disk area.
Inode
A fixed-size (typically 128byte) metadata data structure in UNIX/Ext file systems identifying a file or directory, containing file attributes (size, permissions, timestamps) and direct/indirect pointers to physical storage blocks.
Master File Table (MFT)
The central metadata file in Microsoft's NTFS consisting of fixed-size 1KB records, where each record contains resident attributes (stored directly in the MFT) or pointers to non-resident cluster runs (stored outside the MFT).

Virtual Memory
A memory management architecture that grants each process an isolated virtual address space (e.g., 232 or 264 bytes), decoupling logical addresses used by programs from physical RAM addresses via address translation.
Memory Management Unit (MMU)
The CPU hardware component that translates virtual addresses generated by program code into physical memory addresses via page tables, raising a page fault exception if an accessed page is not resident in physical RAM.

Page Fault
A CPU hardware exception generated by the MMU when an executing instruction references a virtual memory page whose present/absent bit in the page table is zero, prompting the OS to fetch the page from disk into a physical frame.
Translation Lookaside Buffer (TLB)
A high-speed, content-addressable associative hardware cache within the MMU that stores recently used virtual-to-physical address translations to accelerate memory lookups.
Instruction Set Architecture (ISA)
The abstract boundary and specification that defines the logical view of a CPU to machine code programmers and compilers, encompassing the supported instruction set, addressing modes, word length, and register sets.
RISC (Reduced Instruction Set Computer)
A processor architecture philosophy emphasizing simple, fixed-length instructions (e.g., 4bytes), a uniform encoding, a large set of general-purpose registers (32 registers in MIPS), and register-only arithmetic operations.
CISC (Complex Instruction Set Computer)
A processor architecture philosophy (exemplified by the x86 family) characterized by variable-length instructions, fewer general-purpose registers, complex addressing modes, and instructions that directly access and manipulate memory operands.
MIPS Instruction Formats
The three 32-bit instruction encodings in MIPS: R-format (register arithmetic: op, rs, rt, rd, shamt, funct), I-format (immediate/memory transfer/branch: op, rs, rt, immed), and J-format (unconditional jump: op, target address).
Instruction Pipelining
An instruction-level parallelism technique that breaks instruction execution into multiple sequential stages (typically IF, ID, EX, MEM, WB), executing different stages of multiple instructions concurrently across successive clock cycles.
Superscalar Processor
A processor architecture that dynamically schedules and issues multiple instructions per clock cycle to multiple redundant execution units (such as ALUs, FPUs, and load/store units) at execution time.

Multi-Core vs Many-Core Processors
Multi-core processors feature a small number (2 to 8, up to 64) of powerful, complex cores sharing memory with high single-thread performance, whereas many-core processors (e.g., GPUs) feature hundreds or thousands of simpler, throughput-oriented cores often using distributed memory models.
Classful IP Addressing
An addressing scheme dividing the 32-bit IPv4 space into standardized classes: Class A (1.0.0.0–126.255.255.255, /8), Class B (128.0.0.0–191.255.255.255, /16), Class C (192.0.0.0–223.255.255.255, /24), Class D (multicast: 224.0.0.0–239.255.255.255), and Class E (experimental: 240.0.0.0–255.255.255.255).
Usable Host Calculation (2n−2 Rule)
The formula used to determine assignable IP addresses in a network with n host bits, subtracting 2 because the all-zeros host ID denotes the network address and the all-ones host ID denotes the directed broadcast address.
Variable Length Subnet Mask (VLSM)
A classless subnetting approach that applies multiple subnet masks of varying lengths within the same network address space, breaking address blocks into custom sizes to match specific host requirements and prevent address waste.
Supernetting
The process of combining multiple contiguous, smaller network prefixes (such as Class C blocks) into a single larger route with a shorter mask to conserve address space and reduce routing table sizes.
Routing Information Protocol (RIP)
A distance-vector Interior Gateway Protocol based on the Bellman-Ford algorithm that uses hop count as its sole metric (maximum 15 hops; 16 indicates unreachable) and periodically broadcasts its entire routing table every 30 seconds.
Split Horizon
A distance-vector routing loop prevention rule stipulating that routing information about a network must never be advertised back out of the interface through which it was originally learned.
Route Poisoning
A loop-prevention technique in distance-vector protocols where a failed link or network is immediately advertised to neighbouring routers with an infinite metric (e.g., hop count 16 in RIP) to invalidate it.
Open Shortest Path First (OSPF)
A link-state Interior Gateway Protocol based on Dijkstra's Shortest Path First (SPF) algorithm that maintains a synchronized Link State Database (LSDB) through flooded Link State Advertisements (LSAs) and uses cost (derived from bandwidth) as its metric.
Link State Advertisement (LSA)
A routing update packet in OSPF containing router IDs, directly connected link states, and bandwidth costs, multicast to adjacent neighbours and flooded across an area to construct the LSDB topology map.
Border Gateway Protocol (BGP)
The standardized path-vector Exterior Gateway Protocol used to route data between Autonomous Systems across the Internet, exchanging network prefixes and AS-path attributes over TCP port 179 using deterministic routing policies.
Autonomous System (AS)
A collection of connected IP routing networks and devices controlled by a single administrative entity sharing a unified routing strategy, identified globally by an Autonomous System Number (ASN) assigned by IANA.
Dynamic Host Configuration Protocol (DHCP)
A client/server network service operating over UDP (server port 67, client port 68) that automatically assigns dynamic IP configuration parameters (IP address, subnet mask, default gateway, DNS server) to devices on a lease basis.

Domain Name System (DNS)
A hierarchical, globally distributed database protocol running on UDP/TCP port 53 that resolves human-readable domain names into numerical IP addresses.
CIA Triad
The core three-pillar security model consisting of Confidentiality (protecting data from unauthorized disclosure), Integrity (protecting data from unauthorized modification), and Availability (ensuring authorized users have timely access to resources).

Routing Table Poisoning (RTP)
A network attack in which an unauthorized or rogue router is deployed to advertise false or corrupted routing updates, altering legitimate routing tables and redirecting or intercepting network traffic.