role of the OS Flashcards

1
Q

how does the OS track location of the programs within the RAM

A

using binding - keeps track of where the program is in the RAM

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

what is logical address

A

reference to a stored value
need to be converted to physical address

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

what is physical address

A

actual address of one memory cell

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

what is address binding

A

mapping a logical address to a physical address

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

what is swapping

A

mechanism in which a process or blocks of code are temporarily swapped out of the RAM and into a hard disk and then later brought back into the RAM to continue with their execution

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

what is paging

A

underlying mechanism of virtual memory implementation

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

what does paging allow

A

allows modern OS to utilize secondary storage (greater in size) as if it was the primary memory

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

how does paging work

A

when the OS requests data from the disk, it swaps out a quota of data from the RAM with a quota of data on the hard disk

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

what can excessive paging lead to

A

thrashing which would lead to poor performance

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

where is slicing used

A

used by multitasking systems, multiaccess systems

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

what is time-slice

A

time allocated to each user in a multiaccess system or time allocated to a program in a multitasking system

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

what is the interrupt scheduler

A

allows the OS to switch between processes when the time slice expires

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

what is the scheduler

A

mechanism used to choose the next process to be run after each time slice ends

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

what is preemptive scheduling

A

when a high priority task takes over from the low priority task currently running

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

what is polling

A

periodic checking of devices by a central device to sample their status
CPU periodically checks each actuator, register, sensors to see if its functioning properly

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

how is a dedicated OS created for each device (2 methods)

A

take an existing OS and adapt it for the particular device
design a new OS that will fit the needs of that device

17
Q

what is an advantage of taking an existing OS and adapting is to fit the needs of particular device

A

end users deal with familiar interface

18
Q

what is a disadvantage of taking an existing OS and adapting is to fit the needs of particular device

A

final product won’t be optimized for its purpose

19
Q

advantage of designing a new OS

A

it will be optimized for the purpose of the device

20
Q

disadvantage of designing a new OS

A

takes more time, costly