Back to Hello SparksHello Sparks glossary

Glossary

Deterministic

Something is deterministic when the same start always leads to the same result. Run it again with the same input and you get exactly the same thing.

Most ordinary programs are deterministic: a calculator gives the same answer every time. That makes them easy to test and to trust for exact jobs.

Same in, same out
  1. The same start
  2. Deterministic steps
  3. The same result, every time

These pictures show the idea. They are drawings, and nothing in them is running.

Examples

  • Tool: the app actsIn Meet your robot, once the robot has tools

    A tool does exactly its blocks. Run Grab in the same room twice and the robot does the same thing both times.

  • In a lessonIn Spell Garden

    Your rules are deterministic, and so is the drawing model: the same examples and the same drawing always give the same guess.

Keep in mind

  • Deterministic does not mean correct. A rule can do the wrong thing the same way every time.

Related words

Where you can try it

Meet your robot, lesson 3: How can I make Grab work? Spell Garden, Rules.

All glossary words