Exam practice Flashcards
User
People, machines or other PC’s
Kernel
Central component of the OS that handles fundamental hardware operations.
Operating System
Interface for the Kernel. Acts as an interface for the hardware. Bridge between HW and SW. Provides sets of services to system users. Controls executions of programs and resource manager for CPU, memory and I/O devices.
I/O device
any operation, program or device that transfers data to and from the computer.
User mode
User has restricted access to the hardware
Kernel mode
User has unrestricted access to the hardware
BootStrap loader
a small piece of code that initialize and loads the kernel on startup.
Program
a passive entity stored on disk as an executable file
Process
a program in execution loaded into memory, which progresses in a sequential manner. Multiple processes can exist for one program.
Process states
new, ready, running, waiting, terminated
Context switch
Switching from one process to another, saving the data of the old process with the intention to be restored later.
PCB
Process Control Block, contains all information associated with each process. Ex process state, memory management info.
Process scheduling
handles resources for processes to maximize and optimize CPU usage. Has short term (CPU scheduler) and long term schedulers(job schedulers) depending on the process.
PID
Used to identify processes. Useful when creating child processes and handling resources.
Process creation
child is created, then the program from parent is loaded in as a copy.
Process termination
child is terminated. Data of child is returned to parent via wait() and its resources deallocated by OS.
Zombie process
a child process whose parent has not signaled to parent that it is terminated. The process stays active but with no resource usage.
IPC
Interprocess communication via Direct communication(directly addressing its sender and receiver) or Indirect communication(addressing a port which processes use to read and write to)
Blocking
synchronous message sending. The sender process is blocked until the message has been received, and the receiver process is blocked until the message is available.
Non-blocking
the sender process is free to continue sending messages once a message is sent, and the receiver process can receive multiple messages, including NULL.
Pipes
an IPC system which allows senders and receivers to communicate via indirect communication.