OS, context switch, buffer, CPU scheduler Flashcards
What is an Operating System (OS)?
A piece of software that makes it easier to create and run apps
The OS manages what?
Manages a system’s hardware and software resources
The OS provides what?
Provides a User Interface
The OS does two things with common tasks:
Simplifies and unifies common tasks
Desktop OS
Multi-user, UI, and user focused
Server OS
Services, 24/7, and not intended for users directly.
Mobile OS
1 user, small screen, and battery focused.
Real-time OS
Embedded, Event driven, and no keyboard/mouse/screen
Context switch
When a process that is executing is switched out for another.
When does Context switch occur in a CPU?
When a process is blocked, or to give another process some time to work
Buffer Overflow attack
The CPU can’t distinguish data and instructions. The CPU fetches and treats data as an instruction.
CPU scheduler
Controls time sharing in the CPU, and handles time slicing, process execution and prioritisation.