1.2.1 Flashcards
Systems software
What is a driver?
A piece of software which allows the OS to interact with a hardware device.
How can a driver make it possible for the same printer to work multiple types of hardware.
The driver software is hardware/OS dependent. So the routines will vary according to the platform, but the OS does not need to know how they are implemented.
Describe what is meant by hardware redundancy.
Crucial hardware components are duplicated so that if one component fails, another is automatically brought into operation.
State a function the BIOS performs at start up.
- Initialise/check hardware
- Load OS into RAM
Describe what is meant by fail-safe.
A system or component that comes into operation in the event of a failure which deals with the resulting situation quickly and safely.
What are the functions of an operating system?
- Memory management
- Interrupt service routines
- Processor scheduling
- I/O management
- Backing store management
What is an operating system?
An operating system is a set of programs that manages the operation of the computer for the user. It acts as a bridge between the user and the computer’s hardware.
What is memory management?
Memory management is the allocation and management of space within memory for running programs.
What is paging?
Paging is a technique that splits memory into smaller fixed sizes of 4Kb each. These ‘pages’ aren’t always contiguous and so a page table is used to map the logical addresses to their physical locations in RAM.
What is segmentation?
Segmentation splits memory into smaller segments of varying length depending on program structure.
Define virtual memory.
Virtual memory is when secondary storage is used as an extension of memory.
Why is virtual memory needed.
Memory is not limitless, therefore to allow the system to keep running the OS swaps pages of temporarily inactive jobs to secondary storage.
What are some of the downsides to virtual memory?
- Secondary storage is typically slower than RAM.
- There is an overhead in swapping pages in and out of memory which can impact performance
What is an interrupt?
An interrupt is a signal from a software program, hardware device, or internal clock to the CPU.
What is the purpose of interrupt service routines?
At the end of each FDE cycle the CPU checks for interrupts. If a signal is present it suspends the current program by placing its PC and register values onto the system stack, and a interrupt service routine is called to process the interrupt. Different interrupts have different routines.
How does a computer appear to be multitasking?
Processor scheduling
What are the objectives of a processor scheduler?
- Maximise throughput
- Be fair to all users on a multi-user system
- Provide acceptable response times to all users
- Ensure hardware resources are kept as busy as possible
Name the different types of scheduler
- Round robin
- First come First Served
- Shortest remaining time
- Shortest job first
- Multi-level feedback queues