Operating Systems - computer science Flashcards
What is an operating system?
An operating system (OS) is software that helps to manage resources of a computer system
What is the role of the Operating System?
manage the CPU so that applications and processes can be run efficiently
Manage Memory (RAM)
- The OS reserves memory space in RAM for stored programs to be copied into.
The FDE cycle is executed continuously to carry out the instructions - The OS ensures that programs are appropriately managed so that data is stored in correct memory locations and not corrupted
Manage Interrupts
- A interrupt is an alert signal sent to the CPU when an application or hardware device requires immediate attention.
- The OS must efficiently manage interrupts so that a problem can be dealt with quickly if one occurs
Manage Multi-Tasking
- The OS manages tasks so instructions can be executed by the CPU in turn (known as scheduling)
- The OS prevents processes from interfering with others and crashing.
Tasks should appear to run simultaneously even though only one process can be executed at a time
Manage Backing Store
- T The OS ensures data is stored correctly and can be efficiently retrieved from the backing store.
- Files are organised in a hierarchical (logical) structure
What is another name for backing store?
Backing store is another name for Secondary storage devices
e.g. magnetic hard disk drive, optical drives or solid state memory sticks
Manage Peripherals
- A peripheral is an external device connected to a computer system to input or output data
- The OS manages the receiving of data from input devices(e.g. a keyboard or mouse) and the transfer of data to output devices (such as a monitor or speaker)
What is a peripheral?
- A peripheral is an external device connected to a computer system to input or output data
Manage Security
- The OS allows users to create, manage and delete accounts with different permissions.
- It also permits multiple users to log in and change passwords
- Antivirus and firewall software is managed by the OS as well as some data encryption processes
Manage the User Interface
- The OS provides a user interface , allowing a human to interact with the computer system.
- The way in which a user can navigate a computer system is known as a human- computer interaction (HCI)
What is the most common type of user interface?
Graphical User Interface (GUI)
Give ways Graphical User Interfaces can be presented
Icons - displayed to represent shortcuts to applications and files
Multiple Windows - can be opened at the same time and switched between
Menus - can be opened from the Start button to display files and shortcuts
Taskbar - allows shortcuts to be pinned for quick access
System settings - can be accessed as network and hardware options
A folder and file system - displayed and manipulated allowing for copying, searching, sorting and deleting data
Customization - the interface can be customised, such as changing font sizes and the desktop background
Command-Line interface
- Entirely text-based
- Requires users to interact with the system by typing commands
- This is a complicated process and mistakes could easily accidentally delete data.
- There are many commands to learn so only experts who have been trained to learn this interface will be able to efficiently make use of it.
What is Touch-Sensitive Interface used for?
Smartphones and tablets
Touch- Sensitive Interface
- A human interacts with the device by pressing on a touch screen making it very intuitive and suitable for most users without training
- Touch-sensitive interfaces may not work with dirty or wet fingers and it will take longer to write text compared to using a keyboard
Menu-Driven Interface
- displays data in a series of link filled menus. e.g cash machines(ATMs) and old iPods.
- Generally user friendly and easy to use as commands do not need to be memorised
- It can be annoying to find specific data through a large number of menus without a search feature.
What is an example of a Menu-Driven interface?
Cash Machines(ATMs) and old iPods
Voice-Driven Interface
- A voice-driven interface can be controlled by speaking commands aloud to a listening device. e.g. Amazon’s Alexa devices , Apple’s Siri technology and Google Home
- This interface is intuitive, can be used hands-free and helps to speed up processes.
- Commands may be misheard or limited in what can be performed
Examples of Voice-Driven Interfaces
voice-driven interface can be controlled by speaking commands aloud to a listening device. e.g. Amazon’s Alexa devices , Apple’s Siri technology and Google Home
What is a utility software?
Utility software are dedicated programs used for the maintenance and organisation of a computer system
Antivirus software
- used to locate and delete viruses on a computer system
- The antivirus scans each file on the computer and compares it against a database of known viruses
- Files with similar features to viruses in the databases are identified and deleted
Role of the Firewall
- A firewall manages incoming and outgoing network traffic
- Each data packet is processed to check whether it should be given access to the network by examining the source and destination address
- Unexpected data packets will be filtered out and not accepted to the network
Explain the process of Disk Defragmentation
- As files are edited over time they will become fragmented
- This is when the file splits into parts that are stored in different locations on the hard disk drive.
- Files that are fragmented take longer to load and read because of the distance between the fragments of the file