Chapter 2 - Systems Software Flashcards

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

What is an operating system?

A

It is a program or set of programs that manages the operations of the computer for the user. It provides an interface for the user, application software and hardware since the user cannot directly communicate with hardware.

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

How does an operating system work?

A
  1. OS is held in permanent storage eg. hard disk
  2. Loader (small program) is held in ROM
  3. Computer switched on - loader in ROM sends instructions to load OS by copying it from storage into RAM.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are the functions of an operating system?

A
  • memory management
  • interrupt service routines
  • processor scheduling
  • backing store management
  • management of all input and output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is memory management?

A

it is when the OS must manage allocation of RAM to different programs fairly since there may not be sufficient RAM for everything to be in it at once.

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

what are 3 methods of memory management?

A
  • paging
  • segmentation
  • virtual memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is paging?

A
  • memory (RAM mainly) is divided into fixed sections called pages (4Kb)
  • process in memory will be allocated enough pages to run - but these may not be contiguous physically
  • page table uses mapping to store a link between physical memory address + logical address space of each process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does contiguous mean?

A

next to each other/adjacent physically

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

What is segmentation?

A
  • similar to paging except memory is divided into segments which can be different sizes.
  • Things stored in the segment may relate to parts of a program - eg. a particular function/subroutine may occupy a segment.
  • segment size relates to the program structure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is the difference between paging and segmentation?

A

Paging uses chunks of memory that are the same size while segmentation uses chunks of memory which are different sizes.

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

What is virtual memory?

A
  • an area of secondary storage that can be used as an extension of memory when RAM is filled up and another instruction needs processor time
  • pages of the current process will be stored n virutal memory until they are needed - then they wil
How well did you know this?
1
Not at all
2
3
4
5
Perfectly