DP Computer Science · HL / SL · A1 Computer fundamentals

A1.3 Operating systems and control systems

Get started
Notes Quiz
Free preview 2/15
  1. Question 1

    A drone delivery system runs four concurrent software processes: flight stabilization, GPS navigation, parcel release control, and video streaming. The drone becomes unresponsive during flight when video streaming consumes excessive CPU time. Which type of operating system would best prevent this problem, and why?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    BA real-time OS (RTOS), because it guarantees that time-critical tasks like flight stabilization always meet their deadlines regardless of other processes

    Step-by-step walkthrough

    Choose a solution method

    Method #1Approach 1

    Step 1: Identify the core problem

    The drone becomes unresponsive because video streaming is consuming excessive CPU time, starving safety-critical processes like flight stabilization. This is a timing and prioritization problem in a safety-critical embedded system.

    Step 2: Apply RTOS characteristics

    An RTOS (Real-Time Operating System) is specifically designed to ensure that time-critical tasks complete within guaranteed deadlines. It uses deterministic scheduling — critical processes like flight stabilization are always given CPU time before lower-priority tasks like video streaming.

    Step 3: Classify the system requirements

    A drone in flight is a safety-critical, time-sensitive system. Missing a deadline for flight stabilization could cause a crash. This matches the exact use case for an RTOS — embedded, real-time control where response time must be guaranteed and deterministic.

    Step 4: Select the correct answer

    The correct answer is the RTOS option. It directly addresses the problem by ensuring critical processes are never starved of CPU time, regardless of what other processes are doing.

    Method #2Approach 2

    Step 1: Identify what the question is asking

    The question asks which OS type best prevents a safety-critical process from being starved by a lower-priority process in an embedded control system.

    Step 2: Eliminate: General purpose OS

    A general purpose OS (like Windows or macOS) aims for overall usability and throughput but provides non-deterministic response times — it cannot guarantee that flight stabilization will always execute on schedule. This option is incorrect.

    Step 3: Eliminate: Batch processing OS

    A batch processing OS executes jobs in sequence without interactive real-time responses. This would be completely unsuitable for a drone, which requires simultaneous, concurrent, time-critical control processes.

    Step 4: Eliminate: Single-user OS

    A single-user OS restricts the number of user accounts, not the number of processes. It does nothing to address the problem of one process consuming too much CPU time and starving others.

    Step 5: Select the correct answer

    The RTOS option is correct because it is specifically engineered to provide deterministic, deadline-guaranteed scheduling, making it the only suitable choice for safety-critical real-time systems like drone flight control.

  2. Question 2

    In a smart greenhouse control system, a soil moisture sensor detects that moisture has dropped below a set threshold. The microcontroller activates a water pump until the sensor reads that the threshold has been reached again. Which term correctly describes the role of the soil moisture sensor in this system?
    No clue? Show me the answer
    Correct answerCorrect!Incorrect
    CInput sensor, because it converts the physical quantity of soil moisture into an electrical signal for the controller

    Step-by-step walkthrough

    Choose a solution method

    Method #1Approach 1

    Step 1: Identify the key distinction being tested

    The question tests the difference between sensors (input side) and actuators/output transducers (output side). Understanding which converts physical → electrical versus electrical → physical is essential.

    Step 2: Apply the sensor definition

    A sensor detects a physical quantity from the environment and converts it into an electrical signal that the controller can process. In this case, the soil moisture sensor measures moisture (a physical quantity) and produces an electrical signal representing that value.

    Step 3: Classify the direction of conversion

    The soil moisture sensor performs physical → electrical conversion, which is the defining characteristic of an input sensor. It sits on the input side of the control loop, feeding data into the microcontroller.

    Step 4: Select the correct answer

    The correct answer is "Input sensor, because it converts the physical quantity of soil moisture into an electrical signal for the controller." This precisely matches the definition of a sensor in a control system.

    Method #2Approach 2

    Step 1: Identify what is being asked

    The question asks for the correct role and description of the soil moisture sensor in a closed-loop control system.

    Step 2: Eliminate: Output transducer

    An output transducer converts electrical signals into physical actions (e.g., a motor or heater). A moisture sensor does not produce a physical action — it reads a physical state, so this is incorrect.

    Step 3: Eliminate: Actuator

    An actuator performs a physical action in response to the controller's decision. In this system, the water pump is the actuator — not the moisture sensor. This option confuses the sensor with the output component.

    Step 4: Eliminate: Controller

    The controller (microcontroller) is the component that compares the sensor reading to the threshold and decides whether to activate the pump. The moisture sensor simply provides data — it does not make decisions.

    Step 5: Select the correct answer

    The input sensor option is correct. It accurately describes the soil moisture sensor's role: converting a physical measurement into an electrical signal on the input side of the control loop.

Free preview

13 more questions in this topic

← Previous topicA1.2 Data representation and computer logic
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.