1.2.1 system software Flashcards

1
Q

what is an operating system?

A

a collection of programs that work together to provide an interface between the user and the computer

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

give 3 functions of an operating system

A

memory management, resource management and user interface

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

what are the similarities and differences between paging and segmentation?

A

both: are used when ram space is insufficient, can cause disk thrashing
paging: uses equal sized sections called pages
segmentation: use variable sized, logical sections called segments

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

describe how virtual memory is used when there is not enough ram.

A

a section of the hard drive used used to act as RAM, sections of programs not currently being used are temporarily moved into virtual memory through paging, this frees up memory for other programs in RAM

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

What is an interrupt?

A

a single generated by software or hardware to indicate to the processor that a process needs attention

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

are these scheduling algorithms pre-emptive or non pre-emptive? FCFS, SRT, SJF,MLFQ,RR

A

pre-emptive: RR, SRT, MLFQ
non pre-emptive: FCFS, SJF

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

what are the advantages and disadvantages of using multilevel feedback queues for scheduling ?

A

ad - services most urgent interrupts first
dis - hard to implement

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

define a real time operating system and when it may be used.

A

real time operating system performs a task within a guaranteed Time frame, they are are in systems were a response within a given time frame is critical eg life support systems, self driving cars and power systems

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

describe 3 functions of the BIOS

A

power on self test (POST), checking the CPU clock memory and processor, testing for external memory devices

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

what is the role of a device driver?

A

enable the operating system to interact with hardware devices

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

describe an instance in which a virtual machine may be used

A

testing programs, protection from malware, running software compatible with different versions and types of operating systems

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