1.2.1 Systems 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 computer

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

Give the 7 functions of an operating system.

A

Memory management
Resource management
Input/Output management
Interrupt management
Security
User interface
Utility software

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

Why are paging & segmentation used?

A

To manage memory to avoid disk thrashing

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

What is disk thrashing?

A

Slowed system performance
Occurs when operating system uses disk for memory due to excessive & frequent reading or writing operations

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

What is paging?

A

A memory management technique that divides memory into fixed-sized sections called pages

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

What is segmentation?

A

A memory management technique that divides memory into variable-sized, logical sections called segments

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

Describe how virtual memory is used.

A

A section of hard drive is used to act as RAM
Sections of programs not currently being used are temporarily moved into virtual memory throuugh paging
Frees up memory for other programs in RAM

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

What is an interrupt?

A

A signal generated by software or hardware to indicate to the processor a need for immediate attention

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

Outline the stages of the Interrupt Service Routine.

A

Interrupt register checked at end of each FDE cycle
If an interrupt with a higher priority than the current process exists, the contents of the registers are transferred onto stack
Relevant ISR is loaded into RAM
A flag is set to signal ISR has begun & reset once ISR is finished
Interrupt register checked again, process is repeated if any of higher priority found
When there are no interrupts with higher priority, the contents of the stack are popped off and loaded back into registers
The FDE cycle renews as before

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

Name the 5 scheduling algorithms.

A

Round Robin (RR)
Shortest Remaining Time (SRT)
Shortest Job First (SJF)
Multi-Level Feedback Queue (MLFQ)
First Come First Served (FCFS)

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

Which scheduling algorithms are pre-emptive?

A

Round Robin
Shortest Remaining Time
Multi-Level Feedback Queue

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

Which scheduling algorithms are non-preemptive?

A

First Come First Served
Shortest Job First

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

Describe the First Come First Served scheduling algorithm.

A

The first job enqueued is the first to enter the running state

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

Describe the Shortest Job First scheduling algorithm.

A

Sorts the jobs in order of expected time to complete

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

Describe the Shortest Job First scheduling algorithm.

A

Sorts the jobs in order of expected time to complete

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

Describe the Round Robin scheduling algorithm.

A

Gives each job a maximum length of processor time
Once the time is complete, the job is put to the back of the queue and the job at the front is passed to the processor
If a job completes before its time slice has ended it leaves the system

17
Q

Describe the Multi-Level Feedback Queue scheduling algorithm.

A

Several queues of different priorities with jobs migrating downwards

18
Q

Describe the Shortest Remaining Time scheduling algorithm.

A

The job with the shortest expected remaining time is put to the front of the queue.

19
Q

Whats an advantage of using Multi Level Feedback Queues for scheduling?

A

Services most urgent interrupts first

20
Q

Whats a disadvantage of using Multi Level Feedback Queues for scheduling?

A

Hard to implement

21
Q

Define a real-time operating system.

A

Perform a task within a guaranteed time frame
Used in systems were a response within a given time frame is critical

22
Q

State the function of the BIOS.

A

Running tests upon the computer’s startup

23
Q

Name the 3 tests carried out by the BIOS.

A

Power-On Self Test (POST)
Checking the CPU clock, memory & processor
Testing for external memory devices

24
Q

Describe the function of the POST.

A

Ensures all hardware is correctly connected & functional

25
Q

What is the role of a device driver?

A

Enable the operating system to interact with hardware devices

26
Q

Give uses of virtual machines.

A

Testing programs
Protection from malware
Running software compatible with different version & types of OS

27
Q

What is a virtual machine?

A

Software that functions like a physical computer only using software resources