1.2.1 System Software pt 1 Flashcards
Operating System
A collection of programs that interact to provide an interface between a user and the computer
Do you interact with the OS?
Only via applications
OS Functions
User interface, memory management, interrupt management, processor scheduling
What does a user interface do?
Hides the complexity of the hardware by providing an interface for the user to interact with
4 types of user interface
Graphical User Interface
Command Line Interface
Menu-based Interface
Voice Interface
Graphical User Interface (GUI)
A computer interacts with a series of graphics
e.g. iPhones
Convenient, easy to use, intuitive
Command Line Interface
The user has a command line they can use
e.g. Command window in windows OS
Text-based, more power to use more commands, can use batch processing
Menu-based Interface
The user can interact with a series of menus
e.g. ATM/PIN machine
Secure, limited functions, easy to use
Voice Interface
You interact using your voice
e.g. Amazon Alexa/ google home
Can interact anywhere, easy, hands-free
Paging
- Memory is divided into fixed-size chunks (pages)
- Each process is allocated x amount of pages - still 1 page if less than page size but may not be contiguous
- A page table maps logical memory and physical memory location
Contiguous
Where all the memory for a process is next to each other
Paging advantages and disadvantages
+ Improves efficiency of space as data can be stored in all available space
- A whole page may not be full with a process
- Can increase reading time as data is separated
Segmentation
Memory is divided into segments which can be of different lengths
All segments of the same process are contiguous
Could relate to part of a program
Segmentation advantages and disadvantages
+ All memory for a process is together
- The remaining space may be smaller than the size of the segment required
- Swapping is more difficult
Virtual Memory
An area of the hard disk drive is designated as virtual memory
Some current pages are stored there if RAM is full and are swapped back in when needed