Systems software - paper 1 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

What functions do operating systems provide?

A

Memory management
Recourse management
File management
Interrupt management

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

What is paging?

A

When memory is split up into equal sized sections known as pages.
Individual or groups of pages can be swapped into main memory when needed

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

What is segmentation?

A

The splitting up of memory into logical sized divisions, segments that vary in size.

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

What is virtual memory?

A

When there is not enough space in the RAM part of the secondary storage is used to act as RAM. Sections of programs not currently in use are moved to secondary storage temporarily.

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

What is the issue of using virtual memory?

A

Disk thrashing- When pages are swapped too frequently between the hard disk and main memory. This causes the system to slow. Becomes worse as memory fills up

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

What is an interrupt and how are they ordered?

A

Interrupts are signals generated by the software or hardware to indicate that a process needs attention.
Stored in order of their priority

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

What is the interrupt service routine?

A

The processor checks the contents of the interrupt register at the end of each FDE cycle. If an interrupt is there that is a higher priority than the process being executed the contents of the CPU are moved to a stack. The processor then loads the appropriate interrupt service routine into RAM. A flag is set to signal the ISR has begun. Once finished the flag is rest and the interrupt queue is checked again and then the FDE cycle resumes.

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

What are the different scheduling algorithms?

A

Round robin
First come first served
Multilevel feedback queues
Shortest job first
Shortest time remaining

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

What are the features of a round robin system?

A

Each job is given a time slice which it is allowed to execute within. Once its time is up the next time slice is loaded up and so on.

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

What are the features of a first come first serve algorithm?

A

Jobs are processed in the order that they enter the queue- there is no priority.

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