SLR4 - Operating System/Systems Software Flashcards
Explain paging
A method of manipulating memory which uses pages to store code in fixed size blocks and allows programs to run despite insufficient memory. uses virtual memory.
Explain segmentation
A method of manipulating memory which uses segments to store code in different sized, logical sections. Uses virtual memory.
Define and explain ISR
Interrupt service routine
Determines what happens when an interrupt is raised.
Define an interrupt
A signal which stops the fetch, decode, execute cycle from running normally in order to prioritise a different device.
Give some examples of interrupts
Hardware: Power pressed Memory parity error Software: Illegal instruction Arithmetic overflow New log-on request Input/output: Buffer almost empty Data transfer completion
Define a virtual machine
When software is used to take on the function of a physical machine.
Emulators provide the illusion that a program is running on native hardware.
Define and explain OS
Operating system
Software that manages the hardware, software, security and user interface of a computer.
Explain the role of the OS
Manages the interrupts in the processor.
Manages memory including paging, segmentation and virtual memory
Manages external devices: OS instructions are converted into instructions that the hardware can read by device drivers.
Manages networking: communication to other devices through protocol
Manages access requests.
Define scheduling
A way of managing the amount of time programs have in the CPU.
Define memory management
A way of ensuring that programs in memory only access their own data or any authorised shared data with other programs.
Define virtual memory
A method of freeing available memory in the RAM by moving unused program sections to the hard drive.
Define device drivers
Software which tells the OS how to communicate with a device.
Define BIOS
Basic Input Output System
Checks that the computer is functional and loads the OSs kernel into memory
The bootstrap is responsible for loading the OS into memory
Initial start up instructions are stored in ROM
BIOS settings are stored in non-volatile flash memory.
Define Intermediate code
Code between source code and machine code which can be read by virtual machines.
What are the 5 scheduling algorithms
FCFS - First Come First Served SJF - Shortest Job First RR - Round Robin SRT - Shortest Remaining Time MLFQ - Multi-level Feedback Queues