Test 1 Flashcards

1
Q

Boot process and Bootloader Role

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

User vs Kernel Processes

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Role of an Operating System

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

API in Operating Systems

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Kernel

A

The kernel is the core part of the operating system that interacts directly with hardware, manages process and provides essential services

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

Hardware Impact on OS

A

The hardware of a computer significantly influences what an operating system can do. Hardware limitations can affect performance, capabilities and compatibility

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

Operating System Services

A

These are functionalities provided by the operating system to support various tasks such as process management, file management and communication between processes

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

Process Control Block (PCB)

A

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

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

Kernel Operations with PCB

A

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.

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

Context Switches

A

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

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

Interprocess Communication (IPC)

A

IPC methods allow processes to exchange data and communicate with each other. Examples includes pipes, sockets and shared memory

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

System Calls

A

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

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

Process States

A

Process can be in various states like running, ready or blocked depending on their current activity

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

Interrupts

A

are signals sent by hardware devices to request the CPU attentions. The operating system handles interrupts to manage hardware events

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

Roles of Threads

A

Thread are lightweight process within a single process. They allow for concurrent execution of code within a processes

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

OS Management of Thread

A

The OS manages threads, scheduling them for execution on available CPU cores

16
Q

Threads vs Processes

A

Threads withing a processes share the same memory space, while process have separate memory spaces. This makes communication between thread more efficient but require careful synchronization

17
Q

Threading Models

A

Threading models define how threads are created and managed. Examples include user level threads and kernel level threads

18
Q
A