16.01 - Purposes of an Operating System (OS) Flashcards

1
Q

Bootstrap

A

A small program that is used to load other programs to “start up” a computer

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

Scheduling

A

Process manager which handles the removal of running programs from the CPU and the selection of new processes

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

Direct memory access (DMA) controller

A

Device that allows certain hardware to access RAM independently of the CPU

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

Kernel

A

The core of an OS with control over process management, memory management, interrupt handling, device management, and I/O operations

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

Multi-tasking

A

Function allowing a computer to process more than one task/process at a time

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

Process

A

A program that has started to be executed

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

Pre-emptive

A

Type of scheduling in which a process switches from running state to steady state or from waiting state to steady state

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

Quantum

A

A fixed time slice allocated to a process

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

Non-preemptive

A

Type of scheduling in which a process terminates or switches from a running state to a waiting state

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

Burst time

A

The time when a process has control of the CPU

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

Starve

A

To constantly deprive a process of the necessary resources to carry out a task/process

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

Low-level scheduling

A

Method by which a system assigns a processor to a task or process based on the priority level

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

Process control block (PCB)

A

Data structure which contains all the data needed for a process to run

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

Process states

A

Running, ready, and blocked; the states of a process requiring execution

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

Round robin (scheduling)

A

Scheduling algorithm that uses time slices assigned to each process in a job queue

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

Context switching

A

Procedure by which, when the next process takes control of the CPU, its previous state is reinstated or restored

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

Interrupt dispatch table (IDT)

A

Data structure used to implement an interrupt vector table

18
Q

Interrupt priority levels (IPL)

A

Values given to interrupts based on values 0 to 31

19
Q

Optimisation (memory management)

A

Function of memory management deciding which processes should be in main memory and where they should be stored

20
Q

Paging

A

Form of memory management which divides up physical memory and logical memory into fixed-size memory blocks

21
Q

Physical memory

A

Main/primary RAM memory

22
Q

Logical memory

A

The address space that an OS perceives to be main storage

23
Q

Frames

A

Fixed-size physical memory blocks

24
Q

Pages

A

Fixed-size logical memory blocks

25
Q

Page table

A

Table that maps logical addresses to physical addresses; it contains page number, flag status, frame address, and time of entry

26
Q

Dirty

A

Term used to describe a page in memory that has been modified

27
Q

Translation lookaside buffer (TLB)

A

This is a memory cache which can reduce the time taken to access a user memory location; it is part of the memory management unit

28
Q

Segments memory

A

Variable-size memory blocks into which logical memory is split up

29
Q

Segment number

A

Index number of a segment

30
Q

Segment map table

A

Table containing the segment number, segment size, and corresponding memory location in physical memory: it maps logical memory segments to physical memory

31
Q

Virtual memory

A

Type of paging that gives the illusion of unlimited memory being available

32
Q

Swap space

A

Space on HDD used in virtual memory, which saves process data

33
Q

In demand paging

A

A form of data swapping where pages of data are not copied from HDD/SSD into RAM until they are actually required

34
Q

Disk thrashing

A

Problem resulting from use of virtual memory. Excessive swapping in and out of virtual memory leads to a high rate of hard disk read/write movements, thus reducing processing speed

35
Q

Thrash point

A

Point at which the execution of a process comes to a halt since the system is busier paging in/out of memory rather than actually executing them

36
Q

Page replacement

A

Occurs when a requested page is not in memory and a free page cannot be used to satisfy allocation

37
Q

Page fault

A

Occurs when a new page is referred but is not yet in memory

38
Q

First in first out (FIFO) page replacement

A

Page replacement that keeps track of all pages in memory using a queue structure. The oldest page is at the front of the queue and is the first to be removed when a new page is added

39
Q

Belady’s anomaly

A

Phenomenon which means it is possible to have more page faults when increasing the number of page frames

40
Q

Optimal page replacement

A

Page replacement algorithm that looks forward in time to see which frame to replace in the event of a page fault

41
Q

Least recently used (LRU) page replacement

A

Page replacement algorithm in which the page which has not been used for the longest time is replaced