Example

As an autonomous car is traveling, a radar system scans in front of the vehicle. If an object is detected, the car MIGHT slow down, turn, sound an alarm, honk the horn, or a combination of all four.

The input in this case is the data produced by the radar. The output in this case is the control instructions to the car. Those output instructions might instruct the car to "slow down slowly" or "slow down very quickly".

Another example

Headlights are the lights in front of a car. Headlights can be either on or off. If a headlight is on, it can be either low or high. A high headlight is bright, and may be distracting for an oncoming car.

A car has a headlight sensor. If the sensor detects headlights AND the headlights are on, AND the headlights are high (or bright), the car will lower the brightness of the headlights.

In this case, the input is the sensor data from the light sensor. The output is the control instructions to lower the lights.

Do you understand this?

Standards

These standards are used from the IB Computer Science Subject Guide[2]

IdentifyProvide an answer from a number of possibilities. Recognize and state briefly a distinguishing fact or feature. the inputs and outputs required in a solution.