Unit 2 - System Software Flashcards
List all facilities of an operating system and what they do (treat this as a high mark question and go into detail)
Facilities:
User Interface - Puts computer language into text, images or other languages for humans to interact with. Examples: Command-line interface Batch based interface Graphical User Interface
Program Execution - Loads a program into memory and runs that program, also must be able to end execution.
File system manipulation - Programs need to be read and written as files and directories. Also allows users to create, load, move, read, edit or filter files.
Input / Output Operations - A program may require I/O, which may involve a file or other I/O devices. Users cannot directly govern the I/O devices. So, the OS provide a means to do I/O Input / Output operation which means read or write operation with any file.
Communication - Processes need to swap over information with other processes. Processes executing on the same computer system or on different computer systems can communicate using operating system support. Done using shared memory or via message passing.
Resource Allocation - When multiple jobs are running at the same time, the OS needs to allocate resources to all of them. Resources can be CPU cycles, main memory storage, file storage and I/O devices.
Error Detection - Errors may occur within CPU, memory hardware, I/O devices and in the user program. For each type of error, the OS takes adequate action for ensuring correct and consistent computing.
Accounting - Keeps track of which users are using how much and what kinds of computer resources have been used for accounting or simply to accumulate usage statistics.
Security and protection - Ensuring all access to system resources in a controlled manner. For making a system secure, the user needs to authenticate him or her to the system before using it.
What is memory management?
A PC allows a user to be working on several tasks at the same time. The allocation and management of space is controlled by the OS
What are paging and segmentation?
Paging and segmentation are two different techniques for making the optimum use of memory by splitting it into small sections.
Using a paging system, memory is divided into fixed pages of 4Kb each and a process currently in memory may be held in. A page table uses mapping to store a link between the physical memory address and the logical address space of each process.
Segmentation is the logical division of address space into varying length segments that depend on the program structure. As with paging, it is possible to load only a part of the program into memory
What are interruptions?
A signal from a software program, hardware device or internal clock to the CPU. “Printer out of paper” - is an example of an interrupt.
Intrerupt service routines
Interrupts are assigned priorities and lower priority interrupts may be disabled. Examples are given in order of descending priority:
Power Fail
Clock interrupt
And I/O device signalling an interrupt
What is Round Robin?
Processes are despatched on a first in first out basis with each process given a limited amount of CPU time called a time slice or quantum.
What are distributed operating systems?
A DOS is a form of a parallel processing system which spreads the load over multiple computer servers. A job is split up in several tasks and each of these is run on a separate computer, coordinated by the operating system, in a way in which it appears to be a singular system. Linux and windows are all available in distributed versions
What’s a multi-tasking system?
- may run on a standalone computer such as a PC / Laptop
- Can multiple tasks at the same time
How does a mobile OS work
Have two operating systems: main - operating UI
-app software
real time OS : operates
radio /hardware
What is an Embedded operating system?
Microwaves / Washing machines use this
- minimal user interface
- it will accept input from sensors and send output to control devices
- limited RAM
- no permanent data storage
What is a real-time operating system?
Used in aircraft or safety-critical systems
- it must respond very quickly to any inputs or sensors
- it must be able to deal with many inputs
- it must have failsafe mechanisms designed to detect and take appropriate action if a hardware component fails
i- it must have back up hardware
What is the BIOS and what does it do?
A program that gets your computer started when you turn it on. It’s stored in the ROM
What is 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 os within another.
What is system software and what does it do?
Needed to run the computer’s hardware and apps:
Includes OS, utility programs libraries and programming languages translators
What are some functions of the OS?
Resource management - hardware, memory disk, drives etc:
provision of a user interface to enable users to perform tasks such as running application software, changing settings on the computer, downloading/installing new software