CS 149 Operating Systems - Vocabulary Review

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

1/36

flashcard set

Earn XP

Description and Tags

Vocabulary review flashcards covering C programming basics, process creation, system calls, memory layout, file I/O, IPC, and operating system scheduling concepts.

Last updated 9:37 AM on 9/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

37 Terms

1
New cards

Kernel Layer

The layer in an operating system model that manages all hardware-dependent functions.

2
New cards

Operating System

A collection of programs that acts as a resource manager, provides a user interface, and handles hardware and software interrupts.

3
New cards

Operating System Model

A three-layer architectural model consisting of the kernel layer, service layer, and user interface layer.

4
New cards

Open Source Operating System

An operating system whose source code is freely available to read and inspect.

5
New cards

Linux Distribution

A custom build or package of the Linux operating system.

6
New cards

main() Function

The mandatory function in a C program that serves as the starting point of execution.

7
New cards

include

A C preprocessor directive that includes standard library header files for input and output before compilation.

8
New cards

include "mylib.h"

A C preprocessor directive that includes a user-defined library header file located in the current working directory before compilation.

9
New cards

define

A C preprocessor directive used to define a symbolic constant or literal that is replaced throughout the source code prior to compilation.

10
New cards

Forward Compatibility

The ability of software or code written under older standards to work with newer standards, or run on newer hardware platforms.

11
New cards

Backward Compatibility

The ability of a system or software standard to remain compatible with older standards or legacy components.

12
New cards

Prefix Increment (++x)

An operator in C that increments the variable xx first before returning or evaluating its value within an expression.

13
New cards

Postfix Increment (x++)

An operator in C that evaluates to the current value of variable xx first, then increments xx by 11.

14
New cards

fork()

A Unix system call that creates a new child process that is a duplicate (clone) of the calling parent process.

15
New cards

exec System Call

A Unix system call (such as execlp) that transforms an executable binary file into a process by replacing the current process image.

16
New cards

getpid()

A system call that returns the process identifier (PID) of the current calling process.

17
New cards

wait()

A system call used by a parent process to suspend execution until a child process terminates, returning the child's process ID.

18
New cards

Process

A program in execution; it serves as the active unit of work in an operating system.

19
New cards

Program

A passive collection or group of instructions stored on disk designed to perform a specified task.

20
New cards

Stack Frame

A section of memory allocated on the stack at runtime storing temporary data such as function parameters, return addresses, and local variables.

21
New cards

Process Control Block (PCB)

A key data structure maintained by the kernel containing essential information about a process, such as its execution state and stored CPU register content.

22
New cards

System Call

A routine built into the operating system kernel that performs basic, privileged functions on behalf of user applications.

23
New cards

User Mode

The CPU execution mode in which user applications run, restricting direct access to hardware and system resources.

24
New cards

Kernel Mode

The privileged execution mode in which the operating system kernel executes with full hardware access.

25
New cards

lseek()

A system call used for positioning or repositioning the read/write offset pointer of an open file descriptor.

26
New cards

File Descriptor Table

A per-process data structure maintained in kernel memory that maps file descriptors to open file table entries.

27
New cards

Vnode Table

An in-memory kernel data structure (also called the virtual node table or inode table) that stores metadata about an open file.

28
New cards

Inter-Process Communication (IPC)

Mechanisms provided by the kernel and operating system that enable distinct processes to exchange data and communicate.

29
New cards

Pipe

An in-memory kernel buffer data structure used for unidirectional inter-process communication between processes.

30
New cards

Ready State

The state of a process when it is residing in main memory and available for execution by the CPU scheduler.

31
New cards

Blocked State

The state of a process when it is residing in main memory awaiting an event or I/O completion.

32
New cards

Running State

The state of a process whose instructions are currently executing on the processor.

33
New cards

First-Come-First-Served (FCFS)

A non-preemptive job scheduling policy where processes are executed strictly in the order of their arrival in the ready queue.

34
New cards

Round Robin

A scheduling algorithm effective in general-purpose time-sharing systems that assigns a fixed CPU time quantum to each process cyclically.

35
New cards

Multilevel Feedback Queue

A process scheduling algorithm that classifies processes into distinct priority queues and allows them to move between queues.

36
New cards

sigaction()

A POSIX function used to establish or modify a signal handler routine for one or more signals.

37
New cards

kill System Call

A system call in UNIX used to send signals to processes.