operating systems Flashcards
(7 cards)
operating system
provide an interface between the user and the hardware, allowing the user to interact with the system and run applications
Resource management
They allocate resources (eg cpu) to specific tasks and ensure that they are used effectively
e.g. when a user opens multiple applications simultaneously, the operating system decides:
- How much memory to allocate to each application
- When and for how long each gets to use the CPU
- How to handle data being read from or written to the hard drive.
File management
- Operating systems handle the storage, retrieval, and manipulation of data files
- When working with files, operating systems provide a GUI of the file system that allows a user to decide which directory a file should be saved in and what the file name will be
Interrupt handling
Interrupt events require the immediate attention of the CPU
to maintain the smooth running of the system, interrupts need to be handled and processed in a timely manner
User clicks cancel→mouse sends signal→CPU interrupted→OS cancels process
Security
provide various security features such as password-protected system accounts, a firewall, virus scanning and file encryption
Password-protected system accounts are a very common feature in operating systems
Providing a platform for software to run
OS provides a platform on which application software can run, this is mainly by allowing software access to system resources
e.g. if a computer game has intensive graphics and online play, the operating system will grant it access to the GPU and the network card
Providing a user interface
provides interaction through 2 ways: GUI and CLI
GUI = used for interaction and touch
CLI = text-based through a command-line interface. used for programmers