Information changes roles between algorithms

A greenhouse uses two algorithms. The watering algorithm receives a soil moisture reading of 24% and produces the instruction Water. The record-keeping algorithm then receives that instruction and stores it in the daily log.


Complete each classification with input or output, considering the named algorithm separately.


The moisture reading is an to the watering algorithm. The instruction Water is an of the watering algorithm. That same instruction is an to the record-keeping algorithm.

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

More What Is an Algorithm? Questions: