An engineering team is documenting a controller before writing its program. Match each numbered flowchart symbol to its conventional role. Use the shape itself; the colour carries no meaning.


Four numbered flowchart symbols show an ellipse, a rectangle, a diamond and a parallelogram.


Match each term
A.

Performs a calculation or assigns a value to a variable.

B.

Receives data or presents a result.

C.

Tests a condition and selects an outgoing path.

D.

Marks the beginning or end of the procedure.

Symbol 2

Symbol 4

Symbol 3

Symbol 1

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

An engineer writes the pseudocode below to estimate the speed of a small package falling from a drone. It uses Euler time steps with gravitational acceleration 9.81 m/s29.81\ \text{m/s}^2 and a linear drag term of 0.2 s−10.2\ \text{s}^{-1} times the current speed. Speeds are in m/s and times in s.


Plain text
v ← 0
t ← 0
dt ← 0.5
WHILE t < 2.0
    a ← 9.81 − 0.2 × v
    v ← v + a × dt
    t ← t + dt
END WHILE
OUTPUT v


Trace the pseudocode by hand. What value of v does it output? Give your answer in m/s, to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A ventilation controller reads an integer temperature TT in °C and a switch state SS, which is either 0 or 1. The flowchart outputs a fan command as a percentage of maximum speed. Each row below is a separate execution with new inputs. Complete the table with the exact integer command percentages, without percent signs.


A flowchart selects a fan command using switch state and temperature.


Temperature (°C)Switch stateCommand (%)
280
291
301
441
451
520

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors