SLR 4/ Operating Systems Flashcards
What are the 9 roles of the Operating System
Hardware
Managing Programs
System Security
UI
Managing the processor
Memory Management
Handling input/output from peripherals
Networking
File Management
Name the 5 Scheduling types
-First Come First Served (FCFS)
-Round Robin (RR)
-Multi-Level Feedback queues (MFQ)
-Shortest Job First (SJF)
-Shortest remaining time (SRT)
Define First Come First Served (FCFS)
Processes are executed in order as they arrive. If the process takes long the others will simply have to wait.
Define Round Robin (RR)
Each process is allocated a fixed amount of time, known as a time slice. If the process is not complete by the end of its time slice, it returns to the back of the queue.
Define Multi-Level Feedback queues (MFQ)
Several queues are used, each with a different scheduling algorithm and priorities. Jobs are able to move between queues as their priorities change.
Define Shortest Job First (SJF)
Picks the processes that take the shortest time and runs them until they finish. The schedular needs to know how long each process will take.
Define Shortest remaining time (SRT)
Similar to SJF. It is pre-emptive which mean processes can be suspended if a higher priority joins the queue. If a process with a shorter time joins, it goes into the running state and the current process goes back in the queue.
Name the 5 different types of Operating Systems
-Multi-tasking operating system
-Multi-user operating system
-Distributed operating system
-Embedded operating system
-Real-time operating system
Define Multi-tasking operating system
Can run multiple programs at the same time.
Desktop/smartphone
Define Multi-user operating system
Allows many users to access the system and its resources at the same time. Computer will mange users access. Server OS software manages the multiple people using different computers on a network at the same time.
Used in schools and offices
Define Distributed operating system
Allows many computers to work together to carry out a single task.
Data Centre’s, Large Companies, Data mining
Define Embedded operating system
Designed to run inside single-use systems rather than general-purpose computers. Low power, little memory and dedicated hardware.
Washing Machine, Microwave.
Define Real-time operating system
Designed to carry out actions within a fixed and assured amount of time.
-Heart Monitors, Radar Systems
Describe the process of a computer booting up
1.ROM boots the Power On Self Test (POST) to check everything the computer needs is available
2. Clears registers and loads the address of the first instruction in the boot program into the Program Counter (PC)
3.Control is passed to boot program which checks the hardware
4.Check for any BIOS
5.BIOS is run on ROM and is sent to RAM
6. The computer is ready to load the OS usually found on the hard disk
7. OS takes control
Explain Device Drivers
All types of operating systems need to communicate and interact with a wide range of different devices.
A device driver is a piece of software normally supplied with a new device when you buy it. It tells the operating system how it should communicate with the device.