1.2.1 Systems Software Flashcards
what is an operating system
collection of programs that provide an interface between user & computer
what are some functions of an os
resource management, file management, security, interrupt handling, utilities, ui
paging
- available memory is split into fixed sizes called pages
- each page has a memory address
- move in/out of secondary storage as needed
- do not have to be stored contiguously
segmentation
available memory split into variable sizes, logically, called segments
more space efficient
virtual memory
if main memory is full, then seconday storage is used instead
this can cause disk thrashing => computer slows down/freezes due to pages being swapped regularly between ram/secondary storage
interrupt definition
a signal to the processor indicating that a device/process needs attention
interrupt process
- the processor checks the interrupt register at the end of the FDE cycle
- if there is an interrupt with higher priority, then the current contents of the register are transferred into a stack
- The relevant ISR is loaded
- if no more interrupts w/ higher prioroty then the stack is popped bacl into registers
- FDE resumes
round robin
each job allocated an equal share of processing time
adv: all processes will eventually complete
dis: does not take into account different prioroties, choosing the correct time slice is difficult
first-come-first-served
processes are completed in the order they arrive
adv: easy to implement
dis: large processes will take up all of the CPUs time
multi level feedback queue
processes organised into different queues w/ different priorities. jobs can be swapped between queues
dis: jobs w/ lower prioroties may never complete
shortest job first/shortest time remaining
(user estimates execution time), smallest execution is 1st
dis: longer jobs may never complete
bios (basic input output system)
- first program to load up when the device is switched on after POST test
- stored in ROM, loads OS into RAM
device drivers
- software that allows for os to communicate w/ external hardware eg keyboard, mic, speakers
virtual machine
- software implementation to emulate a computer
- partitions the hardware into multiple computers
distributed os
- runs across multiple devices & appears as a single unit
- can use the computing power of all devices