1.2.1 Systems Software

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/37

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

38 Terms

1
New cards

Operating system

Collection of programs that work together to provide an interface between the user and computer

2
New cards

Operating system features

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

3
New cards

Paging

Memory is split up into equal sized sections (pages) that can then be swapped between main memory and the hard disk

4
New cards

Segmentation

Splitting up memory into logical sized divisions (segments

5
New cards

)Virtual memory

Uses a section of the hard drive to act as RAM when the space in main memory is insufficient. Programs that are not currently in use are temporarily moved into virtual memory

6
New cards

What is the issue with paging, segmentation and virtual memory?

They cause disk thrashing. This is when the computer 'freezes' and occurs as a result of pages being swapped too frequently between the hard disk and main memory

7
New cards

Interrupts

Signals generated by software or hardware to indicate to the processor that a process needs attention.
Different types of interrupts have different priorities and they are stored in order of their priority in an interrupt register

8
New cards

Interrupt Service Routine

The processor checks the contents of the interrupt register at the end of each FDE cycle
If an interrupt exists that is of higher priority to the process being executed, the current contents of the special purpose registers in the CPU are temporarily transferred into a stack
The processor responds to the interrupt by loading the appropriate interrupt service routine into RAM

9
New cards

Scheduling

Ensures all sections of programs being run receive a fair amount of processing time

10
New cards

Pre-emptive

Jobs are actively made to start and stop by the operating system
e.g. MFQ, SRT, RR

11
New cards

Non pre-emptive

Once a job is started, it is left alone until it is completed
e.g. FCFS, SJF

12
New cards

Round Robin

Each job is given a time slice of processor time within which it is allowed to execute
Once each job in the queue has used its first time slice, the OS again grants each job an equal slice of processor time
This continues until a job has been completed

13
New cards

Advantages of round robin

Ensures each job is seen to

14
New cards

Disadvantages of round robin

Longer jobs will take much longer for completion due to being inefficiently split up into multiple cycles
Does not take into account job priority

15
New cards

First come first served

Jobs are processed in chronological order

16
New cards

Advantages of first come first served

Straightforward to implement

17
New cards

Disadvantages of first come first served

Does not allocate processor time based on priority

18
New cards

Multilevel feedback queues

Makes use of multiple queues, each which is ordered based on a different priority

19
New cards

Advantages of multilevel feedback queues

Allocates processor time based on priority

20
New cards

Disadvantages of multilevel feedback queues

Difficult to implement

21
New cards

Shortest job first

The queue storing jobs to be processed is ordered according to the time required for completion, with the longest jobs being serviced at the end

22
New cards

Advantages of shortest job first

Suited to batch systems

23
New cards

Disadvantages of shortest job first

Requires the processor to calculate how long each job will take which is not always possible
Risk of processor starvation

24
New cards

Shortest remaining time

The queue storing jobs to be processed is ordered according to the time left for completion, with the least time to completion being serviced first

25
New cards

Advantages of shortest remaining time

Reduces waiting time

26
New cards

Disadvantages of shortest remaining time

Risk of processor starvation

27
New cards

Processor starvation

When a particular process does not receive enough processor time in order to execute and be completed

28
New cards

Distributed Operating System

Runs across multiple devices, allowing the load to spread across multiple computer processors

29
New cards

Embedded Operating System

Performs a small range of specific tasks

30
New cards

Multi-tasking Operating System

Enables the user to carry out tasks seemingly simultaneously by using time slicing to quickly switch between programs and applications in memory

31
New cards

Multi-user Operating System

Makes use of one computer within a multi-user system. Therefore a scheduling algorithm must be used to determine ensure processor time is shared fairly between jobs

32
New cards

Real Time Operating System

Used in time-critical computer systems and designed to perform a task within a guaranteed time frame

33
New cards

BIOS

The first program that runs when a computer is switched on

34
New cards

Key tests BIOS runs before the operating system is loaded into memory

  • POST (Power-on self test) which ensures that all hardware are correctly connected and functional
  • Checking the CPU clock, memory and processor is operational
  • Testing for external memory devices connected to the computer
35
New cards

Bootstrap

The program that loads the operating system from the hard disk into main memory

36
New cards

Device drivers

Allow the operating system to interact with hardware

When a piece of hardware is used it is the device driver that communicates this request to the OS And high can then produce the relevant output

37
New cards

Virtual machine

A theoretical computer that is a software implementation of a computer system. It provides an environment with a translator for intermediate code to run

38
New cards

Intermediate code

Code that is halfway between machine code and object code

Explore top flashcards