1.2.1 Systems software - Gurjot Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is an operating system

A

a collection of programs that work together in order 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

state some features that an operating system provides

A
  • memory management
  • file management
  • utility software
  • user interface
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 (called pages). these can be swapped between main memory and hard disk as needed.

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

what is segmentation

A

splitting up memory into logical sized divisions (called segment).

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

what is virtual memory

A

using a section of hard drive to act as RAM when the space in the main memory in insufficient. sections currently not in use are moved into virtual memory through paging

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

what are the issues with the 3 ways of memory management

A

it causes disk thrashing (when the computer freezes as pages are being swapped too frequently between hard disk and main memory.)

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

what are interrupts

A

signals 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
8
Q

describe the steps of the interrupt service routine

A
  • processor checks interrupt register after every FDE cycle
  • if an interrupt exists of higher priority than the current process being executed, current content in the registers are transferred into a stack
  • the processor loads the appropriate ISR into RAM
  • flag is set to signal ISR has begun
  • once completed, flag is reset, interrupt register is checked again, if there is something of higher priority, the cycle begins again
  • else the content of the stack are transferred back into registers in memory and FDE cycle resumes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is pre-emptive scheduling

A

jobs are actively made to start and stop by the operating system

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

give examples of pre-emptive scheduling

A
  • multi level feedback queues
  • shortest time remaining
  • round robin
How well did you know this?
1
Not at all
2
3
4
5
Perfectly