Operating Systems Flashcards
what is the purpose of operating systems
provides an interface between the user and the computer
what is file management
a function provided by the OS which allows the user to create, organise and rename files
what is memory management
a function provided by the OS which allocates and tracks resources to ensure efficient use of memory
what is input/output management
involves controlling the exchange of data between the computer and external hardware.
how does multitasking work
works by allocating processing time to each program, this happens in a cycle.
this creates an illusion of simultaneous operation
what is paging
when memory is divided into fixed sizes and programs are split up to fit these pages
what is segmentation
when memory is split up into different sizes (logical divisions)
what are the simmilarities of paging and segmentation
both allow programs to run on insufficient memory
what are the differences between paging and segmentation
pages are fixed sizes
segments are logical
how does an interrupt happen relating to FDE cycles
1.complete the current FDE cycle
2.save the registers to memory
3.determine the interrupt service
4.service the interrupt
5.restore the register values
6.continue the original process
what is a device driver
software that tell the operating system how to communicate with a device
how do driver routines work
- when a program requests to interact with a hardware device - it calls a routine within the driver software of that device
- the routine causes the hardware to perform a specific task
What bus is used for devices to communicate with the processor?
control bus
what are the different types of OS
multi tasking OS
multi user OS
Distributed OS
Embedded OS
real time OS
what is a distributed OS
where multiple computers work on a single task
the distributed OS coordinates the communication between nodes