1) OS Basics Flashcards
What is an OS?
An OS is a set of programs of which allows the user to communicate with and control the devices hardware by communicating through its software.
Which sources does an OS operate / control?
- Input
- Output
- Processing
- Storage
Where is the OS usually stored on? and can any programs run while the OS is not running?
The OS is usually store on disk, and no, first the OS must be running before any program can be used.
What is the “Bootstrap loader”?
Define “Booting”.
This is a small program of which powers itself once the system is powered on.
Booting is the process of loading the OS.
State 2 Objectives which are beneficial for an operating system.
- The resources of the OS are used efficiently: This is done to ensure that slow processes do not slow down the whole system by not giving chance for the fast processes to run.
- To reduct the difficulty of working on the hardware directly: The OS uses a “Virtual Machine” to reduce the difficulty of interacting with the system’s hardware.
What are the desirable features of an OS.
- Efficiency: Tasks which needs to be done by the OS must be done without facing any delays
- Reliability: An OS must be as error-free as possible.
- Maintainability: OS must be clearly written and well-structured.
- Small Size: The OS must have a small size in order waste as least amount of space in the main memory/backing storage as possible.
Define the “Operational Mode”.
This is the way that a specific system must be used.
State points regarding to a Batch System.
- A collection of programs of which must be run one at a time in the form of a queue. The next process will start as soon as its resource are available.
- Examples of such systems are Payroll and mater file updating process.
- The batch system disallows the user from interacting with the processing while it’s being done. In other words, the user doesn’t have an interaction with the job while it’s being done.
- A special type of a Batch System is the Multiprogrammed Batch System which goes against the normal type, where the Multiprogrammed is able to run more than one process at a time, opposed to the normal type.
State points regarding to a Multiprogramming (Multitasking) System.
- A number of programs are put into a “schedule”, the placement determines when a process will start and finish running.
- The programs are put in a way which maximises the usage of the computer’s resources.
- Allows programs to be run simultaneously.
State points regarding to a Time-sharing (Multi-access) System
- This type of system allows multiple users to operate on the same system.
- The CPU of the system reacts quick to all the users’ instruction in order to respond fast and make it feel like the system is only being used by an individual.
State points regarding to a Single-User System.
- This type of system supports only 1 user to use it, so people cannot use the system concurrently.
- This system is designed to maximise the response speed to instructions.
-
State points regarding to a Real-time System.
- This type of OS is used when there is a rigid time requirements on the operation of the processor. This type of OS responds to deadlines.
- This type of OS is usually used is medical, scientific and more serious situations where a deadline (or a specific time in activation) is required.
State and define the 2 types of Real-time System.
- Hard Real-time System is a type of real-time system of which contains a very important deadline, the deadline must activate the OS because it means that some urgent action must be taken.
- Soft Real-time System is a type of real-time system of which contains deadline, although opposed to the other type, missing deadline will not cause a catastrophic issue.
State points regarding to a Parallel System (Multiprocessor System).
- This type of OS contains more than 1 processor which work together on the processes. These share the same bus, clock, memory and peripheral devices.
- An advantage of such system is that if 1 processor fails, you will have a backup processor which would of course still work.
- This type of system is also known as a tightly-coupled system.
State points regarding to a Distributive System.
- This type of system contains multiple processors, although the processors do not share the same memory and clock.
- The processors are able to communicate through telephone lines and busses.
- The processors may vary in size and function, hence this type of system is also known as a loosely coupled system.