Section 2 - Systems Software Flashcards
Functions of an Operating System
What are the functions of an Operating System (OS)?
5 functions
Memory Management
Interrupt Service Routine
Processor Scheduling
Backing Store Management
Peripheral Management
Functions of an Operating System
What is memory management?
The process of moving pages/segments of memory between primary and secondary storage
Functions of an Operating System
What are pages?
4kb divisions of memory
Functions of an Operating System
What are segments?
Logical divisions of memory
Functions of an Operating System
What is internal and external fragmentation, and which are experienced by paging and segmentation?
Internal fragmentation occurs with paging, where storage space is wasted within the page.
External fragmentation occurs with segmentation, where storage space is wasted within RAM.
Functions of an Operating System
What is the interrupt service routine?
5 steps
- After each Fetch/Decode/Execute (FDE) cycle, the system checks for any interrupts
- If an interrupt is detected, its priority is checked against the current task
- The current task is paused, its register values being sent to secondary storage
- The interrupt task is completed
- The previous task is restored
Functions of an Operating System
What is an interrupt?
A signal to stop/change the current task in the CPU
Functions of an Operating System
Give examples of interrupts.
3 examples
Power-fail interrupt
Clock interrupt
Input/output device signal (requesting service or signalling the end of an operation)
Functions of an Operating System
What is processor scheduling?
Allocation of processor time to each task
Functions of an Operating System
What are the types of processor schedule algorithms?
5 algorithms
- Round Robin
- First Come First Served
- Shorted Job/Time First
- Shortest Remaining Time
- Multi-Level Feedback Queue
Functions of an Operating System
What is the Round Robin algorithm for processor scheduling?
Each process gets a slice of processor time in a cycle
(simple)
Functions of an Operating System
What is the First Come First Served algorithm for processor scheduling?
The first task started will be the first task finished
(simple, inefficient)
Functions of an Operating System
What is the Shortest Job/Time First algorithm for processor scheduling?
The task with the shortest total time is finished first
(may never complete long tasks)
Functions of an Operating System
What is the Shortest Remaining Time algorithm for processor scheduling?
The task with the shortest remaining time is finished first
(may never complete long tasks, takes resources to calculate remaining time)
Functions of an Operating System
What is the Multi-Level Feedback Queue algorithm for processor scheduling?
Tasks are organised based on priority, resources, and potentially task time
(complex, takes resources to organise)
Functions of an Operating System
What is backing store management?
Allocates and tracks data on secondary storage
Functions of an Operating System
What is peripheral management?
Management of input/output devices
Types of Operating System
What is the BIOS?
Give the full title, as well as its job and stored location
Basic Input/Output System
Holds the boot-up instructions to load the Operating System (OS), and deals with OS crashes.
Stored in ROM.
Types of Operating System
Name every type of Operating System (OS).
4 types
Real-Time
Distributed
Embedded
Multi-user Mulit-tasking
Multi-user and Multi-tasking are also types, but can be combined
Types of Operating System
Name the features of a Real-Time Operating System (OS).
Short response times
Takes many inputs
Incorporates redundancy (if a component fails, switch to backup hardware)