Revision Lecture Flashcards
What is the need for an OS?
- Controls Hardware.
- Isolates users from the details.
- Provides a User Interface (UI) - Including a way to navigate file systems.
- Runs Software - Including a File System.
What are the four OS types?
- Desktop OS - Windows
- Server OS - FreeBSD
- Mobile OS - Android
- Real-time OS
What is the function of the Kernel?
Offers core services accessing the hardware.
What functions are provided through the Kernel?
- User Interface
- OS Apps
- 3rd party apps
- CPU
- Memory
- Drivers - Input and Output devices
How does the OS manage Peripherals?
Uses drivers to abstract details of how hardware works.
How does the OS manage Multitasking?
Manages the processor to work on multiple tasks at the same time.
How does the OS manage Security?
File Security, Permissions, quotas
What is the System Call Interface in the OS?
A library/API to access the OS functions controlling hardware (Including network hardware)
What OS has a massive market share in Sever OS?
Linux.
What Kernel does Android use?
Kernel is Linux but then everything else is not. Android is Linux-based but not considered Linux.
What Language are apps made when using Android?
Java
What Kernel does iOS use?
Kernel is Darwin (BSD) but the OS is closed-source.
What Language are apps made with using iOS?
Objective-C or Swift.
What are the three terms associated to Multi-tasking?
- Time-Slice
- Time-Sharing
- Modern Multitasking
What are the features of Time-Slice when multitasking?
- The amount of time a task gets to execute.
2. Typically 10-100ms
What is the feature of Time-sharing when multitasking?
Old style multitasking - processes take turns to run.
What is a file?
Files are abstraction mechanisms of data in disks.
What operations can a file be manipulated with?
CREATE, DELETE, OPEN, CLOSE, READ, WRITE, APPEND, SEEK
How are files organised?
Directories
What is a File System?
A File System (FS) is a mechanism organising files in hierarchical folders (directories)
Name 3 File Systems OS support
- FAT
- NTFS
- Ext2fs
What is the need for Memory Management?
- Allow access to memory for individual apps.
- Extend memory - Using Virtual memory
- Manage the operations needed for the above.