Kalike
Free app Kalike Pro
  1. Kalike
  2. Class 3
  3. Computational Thinking & AI
  4. Decisions and input in programs

Computational Thinking & AI · Algorithms & Programming

Decisions and input in programs

Usually taught in Class 3-7. Estimated from the age it is usually learned (≈); CBSE schools may teach it a year earlier or later.

Use input (key presses, mouse clicks, sensors or typed answers) and branching blocks (if ... then, if ... then ... else) with comparison operators to make a visual program respond to the user

Find the missing step for your childFree. A few yes-or-no questions. No sign-up.

Can your child do it? Check at home

Your child can do this when they can:

  • Program a character to move left and right when the arrow keys are pressed
  • Write a quiz question that asks for an answer and uses 'if answer = 12 then say Correct, else say Try again'
  • Use a comparison such as 'if score > 5' or 'if touching colour red' to change what the program does and explain the condition

A question to ask: Can your child make a simple game in a coding app where pressing the arrow keys moves a character, or a quiz that says 'Correct' or 'Try again'?

What to learn before decisions and input in programs

When a child finds decisions and input in programs hard, the gap is often in one of these earlier steps. Check each one first.

  • My first visual programClass 3-5

    'Decisions and input in programs' builds on 'My first visual program'

  • Parts of a computerClass 3-5helps

    'Parts of a computer' supports 'Decisions and input in programs'

  • Following number algorithmsClass 3-5helps

    'Following number algorithms' supports 'Decisions and input in programs'

What decisions and input in programs leads to

Once your child can do this, these topics build on it.

  • Variables in programsClass 5-7 ≈

    'Variables in programs' builds on 'Decisions and input in programs'

  • Nested loops in codeClass 4-7 ≈helps

    a decision placed inside a loop is an allowed alternative nested structure (glossary example), not required

Find the step your child is missing

Kalike asks you a few yes-or-no questions about the steps before decisions and input in programs, and shows the one topic to practise first.

Start the free checkFree. A few yes-or-no questions. No sign-up.

Topic text adapted from the Marble Skill Taxonomy (v1), © Generative Spark, Inc., under CC BY-SA 4.0. Not endorsed by Marble, NCERT or CBSE.

Topics by class Guides for parents Contact Terms Refunds and cancellations Privacy privacy@getkalike.com Cookie settings

Topics adapted from the Marble Skill Taxonomy (v1) by Marble, under ODbL 1.0 and CC BY-SA 4.0. Not endorsed by Marble, NCERT or CBSE.