1.2.1 (Operating Systems) Flashcards
What is an Operating System?
- Software that manages computers, and allows humans to use them
- Held in permanent memory
- Loaded by BIOS
- Manages the computers hardware
What are the key roles of the OS?
(UFUMP)
- User Interface
- File management
- User management
- Memory management
- Peripheral management
What are the key roles of the OS?
(MBIPI)
- Memory management
- Backing store management
- Interrupt service routines
- Processor scheduling
- Input/Output management
What does the User Interface do?
Displays output to the user and allows them to interface with the hardware
What is file management?
- Allocating space in secondary storage for files
- Allowing users to open and rename / delete / create etc. files
What is user management?
- Creating user accounts and passwords
- Allocating space in memory for users’ data
- Setting rules for what users are allowed to do
What is memory management?
Transferring data between different areas of memory e.g. moving data from secondary storage to primary memory
What is peripheral management?
Allowing the user and operating system to interface with additional hardware
What are device drivers?
Software that allows an operating system to interface with peripheral devices
What is backing store management?
- Allocating and tracking data on secondary storage
- Allocating addresses in secondary memory
- modifying and deleting data in secondary memory
What is an interrupt, and give examples?
- A signal to the CPU to change the process it is completing
- Power failure, scheduled clock interrupt, input/output request
What is the interrupt process?
- Interrupt signal is received
- Stores values of registers for current task
- Completes interrupt service routine
- Restores previous task
What is paging?
- Memory is divided into 4kb sections
- Processes can be stored across several pages
- Pages can be loaded/ dumped as needed
- Can haveinternal fragmentation
What is segmentation?
- Dividing memory logically according to program needs
- Memory is divided into sections of variable length
- Sections can be loaded individually
- Can have external fragmentation
What is processor scheduling?
- Assigning different tasks to a CPU at different times to give the appearance of multitasking
What are the types of processor scheduling?
- First come first served
- Shortest remaining time
- Shortest job first
- Round robin
- multi-level feedback queues
What is the BIOS?
- Basic Input Output System
- Initialises system hardware
- Loads OS
What is a multitasking operating system?
- Runs on a stand alone computer
- Performs multiple tasks at the same time
What is multi-user multitasking operating system?
- A single powerful computer connected to multiple terminals
- Each user gets a slice of CPU time
- May have a priority system
What is a distributed operating system?
- A parallel processing system that performs tasks across multiple computers and servers
- Appears to the user as a single interface
- Allows each device to do what it does best
What is a real-time operating system?
- An OS that responds very quickly to inputs
- Deals with many inputs simultaneously
- Incorporates redundancy
- Must not stop
What is an embedded operating system?
- An OS built into another device
- Very simple and limited RAM
- Little if any secondary storage
- Few inputs/outputs
What is a virtual machine?
- Software that imitates an OS on another machine
- Uses a portion of the real OS resources
- Can be used to test suspicious software/files
- Can be used to test software in specific environments