1.3.6 Operating Systems Flashcards
State 5 functions of an operating system
- Provides a user interface for applications
- Opens, closes and installs software
- Manages the hardware and peripherals
- Manages memory e.g. loading programs into RAM
- Manages processor time allocation
- Manages interrupts and error handling
- Manages file handling e.g. organising, saving and deleting
- Manages security e.g. logging on and passwords
- Manages user accounts
Why do we need an Operating System?
- Allows a user to communicate with the computer using hardware
- Provides the user with a user interface for interaction with the computer
- Allows for multitasking and handles interrupts
What is Virtual Memory
- When RAM is full a section of the hard disk is used to allow more programs to be loaded.
- It is much slower than RAM.
What is a device driver?
- A piece of software that allows peripheral devices to communicate with the OS
- Translates signals to/from peripherals to something the OS can understand
What is spooling?
- Simultaneous Peripheral Operations On-Line
- Data are temporarily held in a buffer waiting for an output device to access it e.g. printer
What is memory management?
Operating system assigns blocks of memory to programs running in a computer
What is scheduling?
Operating system determines the order in which the programs should use the CPU and how much time is allocated to each one
What is polling?
- Operating system regularly checks each peripheral device in turn to discover whether it needs the attention of the operating system.
- Less efficient CPU use than interrupts
What is a Disk defragmenter?
- Moves part of files around so all parts are stored together
- Free memory space is collected together
What is a buffer
Temporary memory which stores data until it is ready to be used.
What is an interrupt?
Interrupts are signals sent to the CPU or operating system
They can be sent from a device (e.g. printer - run out of paper) or software (e.g. email client, email arrived)
The signal is used to request processor time
It enables multitasking to be carried out on a computer
Explain how an interrupt is generated and handled when a key is pressed on a keyboard
- A key is pressed that presses a switch
- The key press completes a circuit
- The location of the keypress is calculated
- The location of the keypress is used to look up the binary ASCII value
- The binary ASCII value is then sent to a buffer to wait to be processed
- An interrupt is then sent to the processor to let it know there has been a key press
- The binary ASCII value is then processed by the CPU
- The CPU then returns to the previous process.
What is multitasking?
When multiple tasks share the processor
What is multiprogramming?
Running more than one program at a time