Constructs

EasyMediumHard
123456789101112131415161718192021222324252627282930
Question 14
Medium

A reverse vending machine sorts empty plastic beverage bottles by volume to ensure they fit into the correct internal crushing chambers. It weighs/measures each bottle's volume. After 500 bottles have been sorted, the machine triggers a "Container Full" indicator to alert the store staff to empty it.

VolumeChamber
Up to and including 0.5 litresSmall chamber
0.51 up to and including 2.0 litresMedium chamber
Greater than 2.0 litresLarge chamber

Complete the flowchart to implement the bottle sorting algorithm by using the symbols provided. Use all the symbols. Use each symbol only once. Use as many arrows and Yes/No labels as required.

Flowchart Symbols Provided

Flowchart symbols: Parallelogram labeled 'Direct to Large chamber'; Rectangle labeled 'counter = counter + 1'; Parallelogram labeled 'Direct to Medium chamber'; Diamond labeled 'volume <= 0.5?'; Parallelogram labeled 'Direct to Small chamber'; Diamond labeled 'volume <= 2.0?'

Partial Flowchart

Partial flowchart structure. Start block connects to process block 'counter = 0', which connects to input block 'Read volume'. A blank section follows with spaces for decision boxes and operational chambers. Below the blank section, the merged paths flow into a process box space, which then connects to a decision box 'counter = 500?'. If 'Yes', it goes to 'Trigger Container Full Indicator' and then 'End'. If 'No', the path loops back up to 'Read volume'.

[6]

Constructs Questions

  1. GCSE
  2. /Computer Science
  3. /Constructs