Section 2 Systems Software Flashcards
Where is the operating system stored?
Permanent storage, e.g. hard disk
How is the operating system brought from secondary to primary storage?
A program called the loader (which is stored in ROM) copies the OS from storage to RAM
What 5 things does an os do aside from the UI?
Memory management
Interrupt service routines
Processor scheduling
Backing store management
Management of all input and output
How does paging work?
Memory is divided into 4Kb fixed pages. When data is stored in memory, a program may take up a number of consecutive addresses. A table is then made to map the physical memory address to the logical memory address.
What is segmentation?
Segmentation is the logical division of address space into varying segments (different sizes). As with paging, you can load a part of the program into memory initially.
Why does a full RAM cause a computer to slow down?
The computer has to swap pages in and out of RAM and secondary storage, it ends up doing this most of the time which tanks performance, this is known as thrashing.
What is meant by multi - tasking in a single core processor
When a processor with one core breaks down a large problem into small chunks and does those one after another to give the appearance of carrying out several tasks simultaneously.
What does the schedular do?
The schedular is a module in the operating system that makes sure processor time is used as efficiently as possible
What are the objectives of the schedular? (4)
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
What is backing store management?
The operating system keeps track of the locations in storage that are free so new files can be uploaded there. It also needs to know where files are stored so they can be quickly accessed
What does your computer do when talking to a peripheral (i.e. a printer) in order to not reduce performance?
It sends the data to be transferred to a buffer so that the CPU can continue on another task. This is to compensate for the difference in speeds between the CPU and the printer.
What is a distributed operating system?
A distributed operating system is a form of parallel processing where the operating system divides up tasks among multiple computers (often servers) to provide more power than a single large server
What two operating systems do mobile devices have?
Mobile operating system
Real-time operating system
What’s the purpose of the real time os in a smartphone?
It controls the low level hardware in a phone such as the radio or gps.
What are the main features of an os in a conventional household embedded system (4)
It will have a minimal user interface
It will accept input from sensors and output to control devices
Limited RAM so no complex memory management system
No permanent data storage devices to be managed
What will the features of the os in a real time system be? (I.e. airbus a320)
Must respond very quickly to inputs or sensors
Must be able to deal with many inputs simultaneously
Must have fail safe mechanisms if hardware fails
It must incorporate redundancy (if one part fails, switch to another)
Where is the bios stored?
EPROM (erasable programmable read-only memory)
What does the bios do?
It’s primary purpose is to initialise and test the system hardware components and then load the os
What does a driver do?
Provides a software interface for a particular hardware device like a printer
Why might an apple device install a different driver to a windows device for a printer?
Drivers are hardware specific and os specific
Def virtual machine
A virtual machine is any instance when software is used to take on the function of the machine often to emulate different hardware
What two categories of software are there?
Systems software, application software
What is system software?
The software needed to run the computers hardware including the os and utility programs
Give 2 main functions of an os
Resource management - managing computer hardware
Providing a UI
What are utility programs for?
They are pieces of software designed to optimise the performance of a computer or perform ‘housekeeping’ tasks.
What is a disk defragmenter and what does it do?
It reorganises a metal hard disk so that files which have been split up (fragmented) are recombined into a single series of sequential ‘blocks’ (sections of the hard disk)
What 4 things do backup services generally allow users to specify?
Where to store the backup
What to backup
How to run the backup (zip files or not)
When to run the backup
What does automatic update utility software do?
Makes sure that any software is up to date by searching the internet and installing the latest version if it is not currently installed
What 2 pieces of system software need automatic updating to work efficiently
Anti virus and firewall services need the latest protection to still work as intended.
Why is an automatic updater important for application software?
It means applications are kept as up to date as possible so bug fixes and improvements are automatic and seamless to the user.
What does a virus checker do?
Checks your hard drive and (depending on level of protection offered) your emails and installed data and removes them
Why might someone use compression software?
To be able to send a file with a size limit over the internet.
What are the 3 categories of application software?
General-purpose, special-purpose (which includes custom-written (bespoke) software and off the shelf software)
What is general purpose software?
Software such as a word processor or spreadsheet that is used for many different purposes
What is special purpose software.
Software that performs a single specific task or a set of tasks such as hotel booking systems or fingerprint scanners
What two ways a software be bought?
Off-the-shelf - ready to go straight after purchase but more general
Bespoke - custom written software maybe bought by a hotel to carry out a specific task
Features of off-the-shelf software
Cheaper than bespoke software
May contain unwanted features and not contains desired but not essential features
Ready to be installed immediately
Well documented, tested and error free
Features of bespoke software (compared to off-the-shelf software)
More costly to produce and purchase
Features customised to user requirements and other features added as needs arise
May take a long time to develop
May contain hidden errors