Functions of an Operating system Flashcards
what is an Operating system ?
an O/S is a system software that manages computer hardware , software resources and provides common programs
What does the Operating system provide ?
-User interface
-Memory management
-Interrupt Handling
-Processor scheduling
What does user interface do and Memory management ?
user interface hides the complexity of the hardware from the user by providing a user interface .
Memory Management manages the allocation of RAM to the different Programs
What are the two types of Memory Management ?
Paging and Segmentation
what is paging and segmentation ?
Paging - Available memory is divided into fixed sizes.
Segmentation - Memory is divided into segments which can be different lengths.
what are interrupts ? and an ADV and Dis-ADV ?**
An interrupt is a signal that is sent from the software to the O/S
explain the process of interrupts using stack ?
When an interrupt is detected the processor stops fetching instructions and instead pushes the Current contents of its registers onto a Stack .
what is interuupt priority ?
interrupts have different priorities and will be processed in order of priority .
if a higher priority interrupt occurs whilst an interrupt is being processed, the original interrupts will be pushed onto a STACK
what are the types of Processor scheduling methods ?
Round robin
First come First serve (FCFS)
Shortest Job First
Shortest time Remaining (STR)
Name the types of operating systems ?
Multi-use
Distrubuted
Multi-tasking system
Mobile O/S
what is a mobile O/S ?
a smart phone is a computer with a multi-tasking O/S
what is a distributed O/S ?
can co-ordinate the processing of a single job across multiple computers
what is real time operating system ?
this is O/S that operates in real time , this is often used in safety crucial environments .
what is open software and closed software ?
Open source- this allows anyone to access its source code
- the software is licence but free to use
closed source - this does not allow anyone to access its source code.
-users must pay the person/ company the copyright for a license to use the software
what does processor scheduling and interrupt handling do ?
- processor scheduling allows multi-tasking and ensures a fair share of CPU time.
- interrupt handling changes what is being processed by the CPU on a priority basis.