Constructs

EasyMediumHard
123456789101112131415161718192021222324252627282930
Question 24
Medium

An algorithm is required for an automated irrigation system that reads two soil moisture sensor values, moistureA and moistureB. The algorithm must determine and output:

  • "Irrigate Field B" if moistureA is greater than moistureB
  • "Irrigate Field A" if moistureB is greater than moistureA
  • "No Irrigation" if they are equal

Draw a flowchart to represent this algorithm.

Standard Flowchart Guide:

  • Terminator (Rounded rectangle) for Start/End
  • Input/Output (Parallelogram) for reading values or writing results
  • Decision (Diamond) for conditional paths
  • Process (Rectangle) for assignments or calculations
[6]

Constructs Questions

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