Flashcards - Computer Systems Week 9_ Operating Systems Overview

1
Q

What is bootstrapping?

A

Bootstrapping is the process of starting up a computer by loading a set of instructions when it is first turned on.

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

What is the first program that loads on almost all computer systems?

A

The first program is referred to as the Basic Input/Output System (BIOS).

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

What does the BIOS perform?

A

The BIOS performs diagnostic tests such as the Power-On Self-Test (POST).

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

What is the role of an Operating System?

A

The Operating System manages all the software and hardware on the computer.

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

What are processes in the context of Operating Systems?

A

A process is an instance of a program that is currently running.

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

What does a process consist of?

A

A process consists of executable machine code, memory, resource descriptors, security attributes, and processor state.

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

What is the first state of a process when it is created?

A

The initial state of a created process is ‘waiting’.

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

What happens when a process needs to wait for a resource?

A

It is assigned the ‘blocked’ state while waiting.

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

What are the types of processes based on CPU burst?

A

Processes can be input/output bound or CPU bound.

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

What is context switching in Operating Systems?

A

Context switching is the process of saving and restoring the state of a CPU so that multiple processes can share the CPU.

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

What is the main aim of CPU scheduling?

A

The main aims of CPU scheduling include maximizing CPU utilization and throughput while minimizing waiting and response times.

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

What does First Come First Served (FCFS) scheduling depend on?

A

FCFS scheduling depends on the order in which processes arrive.

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

How does Shortest Job First (SJF) scheduling work?

A

SJF schedules the shortest CPU bursts first based on estimation.

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

What is Round Robin CPU scheduling?

A

Round Robin CPU scheduling allocates a fixed time slice to each process in a queue.

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

What is the difference between static and dynamic priority in CPU scheduling?

A

Static priority is fixed for a process, while dynamic priority can change over time based on various factors.

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

What is an I/O device driver?

A

An I/O device driver translates high-level requests to specific hardware instructions for devices.

17
Q

What is the purpose of buffering in I/O operations?

A

Buffering is used to cope with mismatches in device speed and transfer size.

18
Q

What are the types of buffering used by the OS?

A

Types of buffering include single buffering, double buffering, and circular buffering.

19
Q

What does the term ‘system call’ refer to in Operating Systems?

A

A system call is a way for programs to request services from the operating system.

20
Q

What is the ‘kernel’ in an Operating System?

A

The kernel is the core component of the Operating System that interacts directly with the hardware.

21
Q

What does ‘multitasking’ mean in an Operating System?

A

Multitasking refers to the ability of the OS to manage multiple processes simultaneously.

22
Q

What is a ‘task manager’ in an operating system?

A

A task manager is a system utility that provides information about running processes and system performance.

23
Q

What is a ‘process control block’ (PCB)?

A

A PCB is a data structure used by the OS to store all information about a process, including its state and resources.