Chapter 7 - Functions of an operating system
What is an Operating system?
Chapter 7 - Functions of an operating system
What are some functions of an Operating system.
Chapter 7 - Functions of an operating system
Describe what Paging is
( Memory Management )
Chapter 7 - Functions of an operating system
Describe what Segmentation is
( Memory Management )
Chapter 7 - Functions of an operating system
What is an Interrupt?
Chapter 7 - Functions of an operating system
Describe the role of the Interrupt service routine
ISR - Interrupt service routine
Chapter 7 - Functions of an operating system
What is the scheduler and what are the objectives of one.
The objectives of the scheduler are to:
- Maximise throughput
- Be fair to all users of 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
Describe how:
A) Round robin
B) First come first served
C) Shortest remaining time
all work in scheduling processor time
A) Processes are despatched on a FIFO basis, with each process in turn being given a limited amount of CPU time called a time slice.
- To do this, the OS sets an interval timer to generate interrupts at specific times.
B) Jobs are processed in the order in which they arrive, with no system of priorities.
C) The process with the smallest estimated time to complete is run next. The process can be suspended if another shorter process is added.
FIFO - First in First out
Chapter 7 - Functions of an operating system
Describe how:
A) Shortest job first
B) Multi-level feedback queues
all work in scheduling processor time
A) The process with the smallest estimated running time is run next. Its advantages and constraints are much the same as the shortest remaining time algorithm.
B) This algorithm is designed to:
- give preference to short jobs
- give preferences to I/O bound processes
- separate processes into categories based on their need for the processor
The algorithm implements several job queues and jobs can move between queues, depending on how much processor time it needs.
Chapter 8 - Types of operating system
What is a Distributed operating system?
Chapter 8 - Types of operating system
Describe the features of an Embedded operating system
First, let’s look at the simple case of a basic household appliance in which the application program is held in ROM.
The main features of the operating system are:
Chapter 8 - Types of operating system
Describe the features of a Real-time operating system
The operating system on an aircraft or similar safety-critical system must have the following features.
Chapter 8 - Types of operating system
Describe what the BIOS is
( Basic Input Output System )
Chapter 8 - Types of operating system
Describe what device drivers are
Chapter 8 - Types of operating system
Describe what Virtual machines are
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 difference hardware.
Benefits:
- Reduced hardware is needed on computers ( thin client ) / reduced hardware cost
- Easier/cheaper to manage as only one physical device runs the program
Drawbacks:
- Can cause network overload if the network does not have sufficiently good bandwith.
Chapter 9 - System Software
Describe what a Utility program is
Chapter 9 - System Software
Describe the following Utilities;
A) Disk Defragmentation
B) Automatic backup
A) A disk defragmenter is a program that will reorganise a magnetic hard disk so that files which have been split up into blocks will be recombined in a single series of sequential blocks
B) An automatic backup utility will allow the user to specify:
- Where you want to store the backup
- What you want to backup (the sources)
- How you want to run the backup
- When you want to run the backup
Chapter 9 - System Software
Describe the following Utilities;
A) Virus checker
B) Compression software
C) Automatic updating
A) A virus checker utility checks your hard rive and, depending on the levle of protection offered, incoming emails and internet downloads, for viruses and removes them
B) Compression programs like WinZip are used as compressed or zipped files can be transmitted much more quickly over the Internet.
C) An automatic update utility makes sure that any software installed on the computer is up-to-date. For any software already installed on the computer, the automatic update utility will regularly check the Internet for updates.
Chapter 9 - System Software
Describe the 2 categories of Applications software
1. General-purpose software such as word-processor, spreadsheet or graphics package, can be used for many different purposes. For example, a graphics package may be used to produce advertisements or animations.
2. Special-purpose software performs a single specific task or set of tasks. Examples include payroll and accounts packages, hotel booking systems, fingerprint scanning systems, browser software and hundreds of other applications.
Chapter 9 - System Software
Describe the differences between “Off-the-shelf” and bespoke software
Off the shelf:
- Less expensive since the cost is shared among all the other people buying the package
- May contain a lot of unwanted features, and some desirable but non-essential features may be missing
- Ready to be installed immediatley
- Well documented, well-tested and error free
Bespoke software:
- More costly and requires expertise to analyse document requirements
- Features customised to user requirements and other features can be added as needs arise
- May take a long time to develop
- May contain errors which do not surface immediately
Chapter 9 - System Software
Describe the differences between open source vs closed source software
Open Source Software:
- Software is licensed for use but there is no charge for the licence. Anyone can use it.
- Open Source software must be distributed with the source code so anyone can modify it.
- Developers can sell the software they have created
- Any new software created from OSS must also be “open”. This means that it must be distributed or sold in a form that other people can read and also edit.
Closed source Software:
- There will be restricitions on how the software can be used, for example the licence may specify only one concurrent user, or it may permit up to say, 50 hours on one site
- The company or person who wrote the software will hold the copyright. The users won’t have access to source code and will not be allowed to modify the pacjage and sell it to other people.
Chapter 10 - Programming language translators
Describe what an Assembler is
Chapter 10 - Programming language translators
Describe what a Compiler is
Chapter 10 - Programming language translators
Describe what an Intepreter is