Section Two: System Software Flashcards
Chapter 7 – Functions of an operating system
What is a operating system?
A program or set of programs that manages the operations of the computer for the user. It acts as a bridge between the user and the computer’s hardware, since a user cannot
communicate with hardware directly.
Chapter 7 – Functions of an operating system
What are the function of an operating system?
Apart from providing a user interface, the operating system has to perform the following functions:
- Memory management
- Interrupt service routines
- Processor scheduling
- Backing store management
- Management of all input and output
Chapter 7 – Functions of an operating system
What is memory management?
The process of controlling and coordinating a computer’s main memory. It ensures that blocks of memory space are properly managed and allocated so the operating system (OS), applications and other running processes have the memory they need to carry out their operations
Chapter 7 – Functions of an operating system
What is paging?
Paging is when memory is split up into equal-sized sections known as pages. These can then be swapped between main memory and the hard disk as needed. Segmentation is the splitting up of memory into logical sized divisions, known as segments, which vary in size.
Chapter 7 – Functions of an operating system
What is segmentation?
Segmentation is the logical division of address space into varying length segments which depend on
the program structure. As with paging, it is possible to load only a part of a program into memory initially.
Chapter 7 – Functions of an operating system
What is Virtual Memory?
Virtual memory is a section of volatile memory created temporarily on the storage drive. It is created when a computer is running many processes at once and RAM is running low
Chapter 7 – Functions of an operating system
What are Interrupts?
An interrupt is a signal from a software program, hardware device or internal clock to the CPU. A software interrupt occurs when an application program terminates or requests certain services from the operating system. A hardware interrupt may occur, for example, when an I/O operation is complete or an error such as `Printer out of paper’ occurs.
Chapter 7 – Functions of an operating system
What are Interrupt service routines?
A set of instructions that have to be carried out when the event occurs. For example, a typical algorithm for handling the mouse might be: Mouse moves. A hardware chip on the Motherboard, called the ‘interrupt controller’, detects the mouse signal.
Chapter 7 – Functions of an operating system
What is processor scheduling?
The process of removing an active task from the processor and replacing it with a new one. It divides a procedure into states such as ready, waiting, or running.
Chapter 7 – Functions of an operating system
The objectives of the scheduler
- Maximise throughput
- Be fair to all users on a multi-user system
- Provide acceptable response time to all users
- Ensure hardware resources are kept as busy as possible
Chapter 7 – Functions of an operating system
What is round robin?
the Round Robin scheduling algorithm, a queue is made holding all processes that are ready to run. When the first process is loaded into main memory, it is given a set amount of CPU time to use. If the process is completed during the allocated time then the next process in the queue is loaded immediately. However, if the process is not finished when its time expires, it is put at the back of the queue to wait for another turn
Chapter 7 – Functions of an operating system
What is Backing store management?
When files and applications are loaded, they are transferred from backing storage into memory. The operating system is required to keep a directory of where files are stored so that they can be quickly accessed. The file management system that comes with your desktop operating system enables a user to move files and folders, delete files and protect others from unauthorised access.
Chapter 7 – Functions of an operating system
What is peripheral management
Operating systems are responsible for ‘ peripheral management ‘ this means. They communicate and control devices such as mice, keyboards, monitors and printers. This can include sending print jobs to the printer
Chapter 8 – Types of operating system
What is a Distributed operating systems?
A distributed operating system is a form of parallel processing system which spreads the load over multiple computer servers. A single job is split up into several tasks and each of these is run on a separate computer, coordinated by the operating system, in such a way that it appears to a user to be
a single system.
Chapter 8 – Types of operating system
What is a multi-tasking system?
A multi-tasking operating system may run on a standalone computer such as a PC or laptop. The Windows operating system, for example, can run many jobs simultaneously, switching between them so that each one appears to be the only one running.
Chapter 8 – Types of operating system
What is a multi-user, multi-tasking system
Time-sharing systems are multi-user, multi-tasking systems. A single powerful mainframe or supercomputer is connected to dozens or hundreds of terminals all using the mainframe CPU. Each user gets a slice of processor time according to a scheduling algorithm,
Chapter 8 – Types of operating system
What is a operating systems used by mobile phones?
A mobile phone is a multi-tasking computer that has its own operating system. Operating systems used on smartphones, tablets, PDAs and other mobile devices are termed mobile operating systems. They combine the features of a personal computer operating system with their own special features
useful for mobile use such as managing cellular and wireless connectivity as well as phone access.
Chapter 8 – Types of operating system
What is an embedded operating systems?
Embedded systems are found in all kinds of hardware from a washing machine or microwave oven, to the control system of a passenger aircraft or a space shuttle.
Chapter 8 – Types of operating system
The main features of embedded operating systems
- it will have a minimal user interface, probably consisting of a few buttons or a dial and maybe a small screen
- it will accept input from sensors, and send output to control devices
- there is a limited amount of RAM so a complex memory management system is not required
- there will not be any permanent data storage devices to be managed
Chapter 8 – Types of operating system
What is a BIOS(Basic Input Output System)?
BIOS is the program stored in EPROM (Erasable Programmable Read-Only Memory) that gets your
computer started after you turn it on. The fundamental purpose of BIOS in modern PCs is to initialise and test the system hardware components and to load the operating system (or the key parts of it) from the hard disk into RAM.
Chapter 8 – Types of operating system
What is a device drivers?
A device driver is a computer program that provides a software interface to a particular hardware device.
This enables operating systems to access hardware functions without needing to know the details of the hardware being used. When you attach a new printer to your computer, for example, you will have to install the device driver program that comes with it before it will work.
Chapter 8 – Types of operating system
What is a virtual machine?
A virtual machine can be defined as any instance where software is used to take on the function of the machine, including executing intermediate code or running an operating system within another to emulate different hardware.