Chapter 2.7 (Functions of an operating system) Flashcards

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

What is an operating system?

A

An operating system is a program or set of programs that manages the operations of the computer for the user

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

What are the functions of an OS?

A
  • Provides user interface
  • Interrupt service routines
  • Processor scheduling
  • Memory management
  • Peripheral management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are two examples of memory management?

A

Virtual memory and Paging and Segmentation

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

What is the difference between paging and segmentation?

A

Paging - Data is physically divided into fixed sized pages to store data non-contiguously

Segmentation - Data is logically divided into different sized segments to be stored non-contiguously

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

How is Virtual memory used?

A

The OS may swap pages of temporarily inactive jobs to make room for the process being called

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

What is an interrupt?

A

An interrupt is a signal from a software program asking for the CPU’s time

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

When the OS Receives a interrupt what happens?

A

Priority is checked

  • if higher priority, all actions are stored in a stack and suspended and then an interrupt service routine is loaded
  • if lower priority, processes are handled like normal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What types of processor scheduling algorithms are there?

A
  • Round robin
  • First come first served
  • Shortest remaining time
  • Shortest job first
  • Multi-level feedback queues
How well did you know this?
1
Not at all
2
3
4
5
Perfectly