Test 1 Flashcards
Boot process and Bootloader Role
- The boot process is the sequence of steps that occur when a computer is powered on or restarted
- The bootloader is a program that initiates the boot process by loading the operating system into the memory
User vs Kernel Processes
- User processes are applications and program executed by users, while kernel processes are essential system processes that manage hardware and provide core operating system functionality
Role of an Operating System
- An operating system manages hardware resources, provides an interface for user applications and ensures that multiple process can run efficiency and securely on a computer
API in Operating Systems
- An API (Application Programming Interface) should interact with the operating system. OS vendors typically provide API’s and developers write software that use these API to access OS services
Kernel
The kernel is the core part of the operating system that interacts directly with hardware, manages process and provides essential services
Hardware Impact on OS
The hardware of a computer significantly influences what an operating system can do. Hardware limitations can affect performance, capabilities and compatibility
Operating System Services
These are functionalities provided by the operating system to support various tasks such as process management, file management and communication between processes
Process Control Block (PCB)
A PCB is a data structure used by the kernel to store information about a process, including its current state, program counter and CPU register
Kernel Operations with PCB
A Process Control Block (PCB) is a data structure used by the operating system to store information about a process. It serves as a container for various pieces of information related to a process’s execution, state, and resource utilization. Kernel operations involving PCBs are essential for process management and multitasking.
Context Switches
Context Switch involve saving the state of a running process and loading the state of another process. They exist to enable multitasking and the efficient sharing of CPU resources
Interprocess Communication (IPC)
IPC methods allow processes to exchange data and communicate with each other. Examples includes pipes, sockets and shared memory
System Calls
System calls are interfaces provides by the operating system that allow user to process to request OS system such as file I/O, process creation and network communication
Process States
Process can be in various states like running, ready or blocked depending on their current activity
Interrupts
are signals sent by hardware devices to request the CPU attentions. The operating system handles interrupts to manage hardware events
Roles of Threads
Thread are lightweight process within a single process. They allow for concurrent execution of code within a processes