what is an operating system
software needed to manage communication with computer hardware
how is an operating system booted
the boot loader in ROM loads the OS into RAM when the computer is switched on
functions of an operating system
why does an operating system have memory management
programs and their data needed to be loaded into RAM to be used. the OS must manage the allocation of RAM to different programs. there may not be sufficient RAM for all desired processes to be completely loaded into RAM at once
what is paging
what is segmentation
what is virtual memory
what is disk thrashing
what are some advantages of paging
what are interrupts
what are some examples of interrupts
how does the interrupt service routine work
what is interrupt priority
advantages of interrupts
why does an operating system need processor scheduling
a single CPU can only process instructions for one application at a time. the OS must schedule when each application can use the CPU. this gives the illusion of multi tasking
what is the aim of processor scheduling
name some examples of how processor scheduling can be organised
how does round robin work
each job is allocated (by FIFO) a time slice during which it can use the CPU’s resources. if the job has not been competed by the end of its time slice, the next job is allocated a time slice
advantages of using round robin
disadvantages of round robin
how does first come first served work
the first job is executed until it completes and then moves onto the next job
advantages of FCFS
disadvantages of FCFS
how does shortest remaining time work
the time to completion is estimated when each new job arrives. the job with the shortest remaining time to completion is executed. it is pre-emptive meaning that the process being executed can be stopped to process another job with smaller remaining time