Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Computer Science
  3. ›A1 Computer fundamentals
  4. ›A1.3 Operating and control systems

IB Computer Science · A1 · Computer fundamentals

A1.3 Operating and control systems

Describe the main functions of an operating system, explain how it manages hardware and software, and outline how control systems use sensors, processors and feedback.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
Start a Quick 5 on this topic→Jump to the 10 questions
1/5An operating system sits between users, software and hardware
  1. 1An operating system sits between users, software and hardware
  2. 2The operating system shares the CPU between processes
  3. 3The operating system manages memory, files and devices
  4. 4A control system uses sensors, a processor and actuators
  5. 5Feedback lets a control system correct itself
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: An operating system sits between users, software and hardware

Think of a school office that connects students, teachers and rooms. An operating system (OS) does a similar job for a computer. It is system software that manages the hardware and provides services to programs.

A program that helps the user do a task, such as writing a document, is application software. Applications do not control the hardware directly. They ask the operating system to do it for them.

Common mistake

The operating system is software, not a physical part. It runs on the CPU like any other program.

Key terms · tap one for its definition

operating system

An operating system is system software that manages computer hardware, memory and processes and provides services to application programs.

application software

Application software is a program designed to help a user carry out a specific task rather than manage the computer itself.

Part 1 done

2

Part 2 of 5: The operating system shares the CPU between processes

A computer often seems to run many programs at once. A process is a program that is being run. A single CPU core can work on only one process at a time.

The operating system therefore switches between processes very rapidly. Each one gets a short turn, so all of them appear to make progress. Choosing which process runs next, and for how long, is scheduling.

Sometimes a device needs attention at once, such as a key being pressed. It sends an interrupt, a signal that makes the CPU pause its current task. The operating system handles the event, and the CPU then resumes the paused task.

Key terms · tap one for its definition

process

A process is a program in execution, together with the resources, such as memory, that the operating system has given it.

scheduling

Scheduling is the operating system’s method of deciding which process uses the CPU next and for how long.

interrupt

An interrupt is a signal to the CPU that an event needs immediate attention, causing it to pause its current task.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the best description of an operating system.
Show answer and explanation

Answer: A · Worked explanation

An operating system is system software that manages the hardware and provides services to application programs. A document writer is application software. Storing files is the job of secondary storage, and arithmetic is carried out by the ALU, not by the operating system.
3

Part 3 of 5: The operating system manages memory, files and devices

Running processes need more than CPU time. The operating system manages the other resources they use.

  • Memory management: it gives each process some RAM and keeps one process out of another’s memory.
  • File management: it organises files in folders and controls who may open them.
  • Device management: it sends data to devices using a device driver for each one.
  • Security: it uses accounts and permissions to limit access.
  • User interface: it gives the user a user interface to enter commands and see results.

Applications use all of these services through the operating system.

Key terms · tap one for its definition

device driver

A device driver is software that lets the operating system communicate with and control a particular hardware device.

user interface

The user interface is the part of a system through which a user gives commands and receives output.

Part 3 done

4

Part 4 of 5: A control system uses sensors, a processor and actuators

Operating systems manage computers, but many devices have no keyboard at all. Examples are a washing machine, a central heating unit or a car’s cruise control. A control system monitors a situation and adjusts something to reach a goal.

A sensor measures a physical quantity, such as temperature, light or speed. A processor uses that data to make a decision. An actuator then carries out the decision, for example by turning a motor or opening a valve.

Exam tip

Name the quantity a sensor measures and the action an actuator performs. General answers earn few marks.

Key terms · tap one for its definition

control system

A control system is a set of components that uses sensor data and a processor to adjust an actuator and reach a desired state.

sensor

A sensor is a device that measures a physical quantity and converts it into data that a processor can use.

actuator

An actuator is a device that converts a processor’s signal into physical action, such as movement or heat.

Part 4 done

Quick check

One question on the part you just read

Easy

Identify the example of application software.
Show answer and explanation

Answer: C · Worked explanation

A photo editor helps a user do a task, so it is application software. A device driver, scheduling and memory management all belong to the operating system or support it, because they help manage the computer itself instead of helping the user complete a task.
5

Part 5 of 5: Feedback lets a control system correct itself

A thermostat shows how this works. The target is a room temperature of 21 °C. A sensor sends each reading to a microcontroller, a small computer on one chip that runs the control program.

If the reading is below 21 °C, the microcontroller switches the heater on. When the reading reaches 21 °C, it switches the heater off. The new temperature is measured again and passed back as feedback.

Figure 1. The sensor measures the effect of the actuator, so the loop can correct itself.

Feedback lets the system keep correcting itself without a person. If the sensor gives false readings, the correction fails.

Go deeperKernel and real-time systems

The kernel is the central part of the operating system. It runs with the highest level of access and controls the CPU, memory and devices.

Some control systems are real-time systems. They must respond within a fixed time limit, because a late response could be unsafe, as in a car’s braking controller.

Key terms · tap one for its definition

microcontroller

A microcontroller is a small computer on a single chip, containing a processor, memory and input and output connections, used to control a device.

feedback

Feedback is the return of a system’s measured output to its input so that the system can adjust its next action.

Note read

Check your recall[15 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Define[2 marks]

    Define the term operating system.

    Show mark schemeHide mark scheme

    Model answer

    An operating system is system software that manages the computer’s hardware and provides services to application programs.

    • 1 mark for stating that it is system software that manages the hardware
    • 1 mark for stating that it provides services to application programs
  2. 2.Outline[4 marks]

    Outline two functions of an operating system.

    Show mark schemeHide mark scheme

    Model answer

    Memory management gives each process some RAM and keeps processes apart. File management organises files in folders and controls who may open them. (Other correct functions: device management, security, user interface, scheduling.)

    • 1 mark for stating a first function
    • 1 mark for outlining what that function does
    • 1 mark for stating a second function
    • 1 mark for outlining what that function does
  3. 3.Explain[3 marks]

    Explain how an operating system lets several programs appear to run at the same time.

    Show mark schemeHide mark scheme

    Model answer

    A CPU core can run only one process at a time. The operating system switches between processes very rapidly, giving each a short turn. Scheduling decides which process runs next and for how long, so all appear to progress.

    • 1 mark for stating that a CPU core can run only one process at a time
    • 1 mark for stating that the operating system switches rapidly between processes
    • 1 mark for linking scheduling to deciding which process runs and for how long
  4. 4.Describe[2 marks]

    Describe the roles of a sensor and an actuator in a control system.

    Show mark schemeHide mark scheme

    Model answer

    A sensor measures a physical quantity, such as temperature, and sends the data to the processor. An actuator carries out the processor’s decision as a physical action, such as turning a motor.

    • 1 mark for stating that a sensor measures a physical quantity and provides data
    • 1 mark for stating that an actuator carries out a physical action as the processor decides
  5. 5.Explain[3 marks]

    Explain how feedback allows a heating control system to keep a room near a set temperature.

    Show mark schemeHide mark scheme

    Model answer

    The sensor measures the room temperature and the microcontroller compares it with the target. It switches the heater on or off as needed. The new temperature is measured again, so the system keeps correcting itself.

    • 1 mark for stating that the sensor measures the temperature and the microcontroller compares it with the target
    • 1 mark for stating that the heater is switched on or off in response
    • 1 mark for explaining that the new temperature is measured again and passed back, so the system keeps correcting itself
  6. 6.State[1 mark]

    State the purpose of a device driver.

    Show mark schemeHide mark scheme

    Model answer

    It lets the operating system communicate with and control a particular hardware device.

    • 1 mark for stating that it lets the operating system communicate with or control a hardware device

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·State[1 mark]

State what a sensor does in a control system.
Show answer and explanation

Answer: B · Worked explanation

A sensor measures a physical quantity, such as temperature, and supplies the data to the processor. Carrying out a physical action is the job of an actuator. Deciding which process runs next is scheduling, and storing files belongs to secondary storage.
4.

Medium·Predict[1 mark]

A room thermostat has a target of 21 °C. The sensor reads 18 °C. Predict what the microcontroller does.
Show answer and explanation

Answer: C · Worked explanation

The reading is below the target, so the microcontroller switches the heater on to raise the temperature. Switching the heater off would be correct only if the reading were at or above 21 °C. Ignoring the reading would remove the feedback that makes the system work.
5.

Medium·Identify[1 mark]

A new printer is connected, but the operating system cannot control it. Identify the software it needs.
Show answer and explanation

Answer: D · Worked explanation

A device driver lets the operating system communicate with and control a particular device, so the printer needs one. A sensor is a hardware device that measures a quantity. A user interface handles the user’s commands, and a second process would not give the operating system control of the printer.
6.

Medium·Identify[1 mark]

While a file downloads, a key is pressed and the CPU pauses its current task to deal with it. Identify the signal that caused this.
Show answer and explanation

Answer: C · Worked explanation

An interrupt is a signal that an event needs immediate attention, so the CPU pauses its task. Scheduling is the decision about which process runs next and for how long, which is different from the signal itself. Feedback belongs to control systems, and a driver is software for a device.
7.

Medium[1 mark]

Which statement about running several programs on a single CPU core is correct?
Show answer and explanation

Answer: B · Worked explanation

One core can work on only one process at a time, so the operating system switches rapidly between processes and each gets a short turn. Giving every process its own core is not how one core works. Exactly simultaneous running on one core is impossible, and scheduling is needed to choose the order.
8.

Hard·Deduce[2 marks]

A greenhouse system opens a vent when it is too warm. Deduce the correct order of events in one pass of the loop.
Show answer and explanation

Answer: A · Worked explanation

The sensor measures, the microcontroller compares the reading with the target and decides, and the actuator carries out the action. The new temperature is then measured again, which is the feedback. The other orders give the roles to the wrong parts, such as an actuator that measures.
9.

Hard[2 marks]

Which statement about memory management by the operating system is correct?
Show answer and explanation

Answer: B · Worked explanation

The operating system gives each process some RAM and keeps processes out of one another’s memory. Giving every process access to all of RAM would allow one program to damage another. Copying RAM into ROM is not what memory management does, and applications rely on the operating system for it.
10.

Hard·Predict[2 marks]

A heating system’s sensor fails and always reports 15 °C, although the room is 25 °C. The target is 21 °C. Predict what happens.
Show answer and explanation

Answer: A · Worked explanation

The microcontroller sees 15 °C, which is below the 21 °C target, so it keeps the heater on. The false reading means the feedback no longer shows the real temperature, and the room keeps warming. Switching off would need a reading at or above 21 °C. Normal cycling needs correct readings.

Keep going

Next topicA1.4 TranslationPrevious topicA1.2 Data representation and logic

More in A1 · Computer fundamentals

  1. A1.1Computer hardware and operationNotes · 10 questions
  2. A1.2Data representation and logicNotes · 10 questions
  3. A1.3Operating and control systemsNotes · 10 questions
  4. A1.4TranslationNotes · 10 questions· HL only

All IB Computer Science topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1An operating system sits between users, software and hardware
  2. 2The operating system shares the CPU between processes
  3. 3The operating system manages memory, files and devices
  4. 4A control system uses sensors, a processor and actuators
  5. 5Feedback lets a control system correct itself
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe