Computer Science · Theme A: Concepts of computer science
A1.3 — Operating systems and control systems
Computer Science · SL / HL · syllabus-mapped notes
CS_A1.3.1
The role of operating systems
Abstracting hardware complexity to manage system resources.
Full note — freeYou must be able to describe the role of the operating system (OS) : the system software that sits between the user/applications and the hardware. Its central role is to abstract hardware complexities : it hides the low-level detail of the CPU, memory and devices behind simple, consistent interfaces so that programs do not have to control the hardware directly. Through this abstraction it manages the system resources (processor time, memory, storage and devices), sharing them fairly and safely between programs and users. Do not confuse the OS's role (abstract hardware and manage resources) with its individual functions such as memory management, covered in the next card.
CS_A1.3.2
Functions of an operating system
Memory, files, devices, scheduling, security, GUI, virtualization and more.
You must be able to describe the functions an operating system carries out. It also maintains system integrity while running these as background operations, keeping the system stable, consistent and secure while applications run. Memory management : allocating and freeing memory for processes and tracking …
CS_A1.3.3
Approaches to scheduling
FCFS, round robin, multilevel queue and priority scheduling.
You must be able to compare approaches to scheduling : how the OS manages the execution of processes by allocating CPU time to optimize system performance (throughput, response time, fairness). First-come first-served (FCFS) Processes run in arrival order until finished. Simple and fair by order, …
CS_A1.3.4
Polling versus interrupt handling
Weighing the two ways a CPU learns that a device needs attention.
You must be able to evaluate polling against interrupt handling : two ways for the CPU to learn that a device needs attention. Polling : the CPU repeatedly checks each device to see if it is ready. Interrupt handling : the device sends an interrupt …
CS_A1.3.5
Multitasking and resource allocation
How the OS juggles many tasks: scheduling, contention and deadlock.
This card is HL only. You must be able to explain the operating system's role in managing multitasking and resource allocation : running many tasks on limited hardware so they appear to progress at once. Task scheduling : the OS rapidly switches the CPU between …
CS_A1.3.6
Control system components
Input, process, output and feedback: open-loop and closed-loop.
This card is HL only. You must be able to describe the use of control system components: systems that take an input, process it and produce an output, using a feedback mechanism to keep the output at the desired value. Input, process, output and feedback …
CS_A1.3.7
Control systems in the real world
Applying control-system ideas to everyday automated systems.
This card is HL only. You must be able to explain the use of control systems in real-world applications, describing for each how the input, sensors, controller, actuators and feedback work together to keep the output at the desired state. Worked example: home thermostat A …
