OS Concepts Flashcards

Build up concepts of Operating systems

1
Q

Trap instruction

A

A special instruction that triggers a software interrupt, transferring control to the operating system for handling privileged operations or system calls.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Operating system services

A

The core functionalities provided by an OS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Services of the Operating system

A

interface, program execution, I/O operations, filesystem manipulation, communications, error detection, resource allocation, accounting, protection, and security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

System calls

A

Interfaces that allow user programs to request services from the operating system, such as file operations, process control, and communication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

API (Application Programming Interface)

A

A set of functions and protocols that allow applications to interact with the operating system or other software components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Mode switching

A

The transition between user mode and kernel mode in an OS, allowing the system to perform privileged operations securely.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Context switching

A

The process of saving and restoring the state of a CPU when switching between processes or threads.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Stack on Process stack

A

A memory structure used by a process to manage function calls, local variables, and control flow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Process control system call

A

A system call that manages process execution, including creation, termination, and synchronization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

File manipulation system call

A

A system call that allows programs to perform file operations like creating, reading, writing, and deleting files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Information maintenance system call

A

A system call that retrieves system-related information, such as process attributes, time, and system configuration.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Communication system call

A

A system call that enables inter-process communication (IPC) through shared memory, message passing, or sockets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Protection system call

A

A system call that enforces security policies, such as access control and user authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Device manipulation system call

A

A system call that interacts with hardware devices, handling operations like reading, writing, and configuring device settings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

System programs

A

Software that provides utilities and tools to help manage and operate the computer system, such as compilers, debuggers, and file managers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Application programs

A

End-user software designed to perform specific tasks, such as web browsers, word processors, and games.

17
Q

Registry

A

A database used in some operating systems, such as Windows, to store system configurations and application settings.

18
Q

Daemons

A

Background processes in an OS that handle system tasks, such as managing network connections or scheduling jobs.

19
Q

User goals of an OS

A

The objectives an OS should meet for usability, efficiency, security, and convenience from the user’s perspective.

20
Q

System goals of an OS

A

The technical objectives of an OS, such as performance optimization, reliability, security, and hardware abstraction.

21
Q

Layered OS

A

An operating system design where functionality is divided into hierarchical layers, each with a specific role.

22
Q

Microkernel OS

A

An OS architecture where only essential services (such as process management and IPC) run in the kernel, while other services run in user space.

23
Q

Modular OS

A

An OS design that allows dynamic loading and unloading of components, providing flexibility and extensibility.

24
Q

System generation

A

The process of configuring and compiling an OS to run on a specific hardware setup.

25
Q

ISO image

A

A disk image file that contains an exact copy of an optical disk, often used for OS installation.

26
Q

System boot

A

The process of starting a computer and loading the operating system into memory.

27
Q

Booting

A

The sequence of events that initializes hardware and loads the OS after power-on or restart.

28
Q

Bootstrap program/loader

A

A small program stored in firmware that initializes the system and loads the operating system.

29
Q

Firmware

A

Low-level software stored in non-volatile memory that controls hardware initialization and system startup.

30
Q

Boot block

A

A reserved section on a storage device that contains the initial bootloader code required to start the system.

31
Q

Boot disk

A

A storage device containing a bootable operating system or recovery tools.

32
Q

File system

A

The method and data structures an OS uses to store, retrieve, and manage files on a storage device.