Browse topics

Curriculum

Explore all 1,858 open curriculum concepts.

Advanced filters 2

Computing Algorithms & Programming Ages 8–13

Decisions and input in programs

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

Teach
Share

Activity

Programs wait for input, then choose a path.

Materials

  • Input cards: key A / click / typed yes
  • If-then strips
  • Two outcome pictures (open door / stay shut)
  • Pencil

Steps

  1. Adult demos: if key A then open door else stay shut.
  2. Child picks an input card, fills if/then, and acts the matching outcome.
  3. Child invents a second input→branch pair and tests both branches once.
  4. Fresh check: adult gives only an input; child states the then/else. Record and stop.

Done

Ask what changes the path. Success: names the input.

Example. “If click green, start. Else wait.”

3 before 2 after

Loading map…
List nearby topics

Ways to teach

Pick a way to teach this topic. Come back here afterward to record progress.

Code.org

AI+CS education for ages 5 to 11

Open (new tab)
About this link

Free computing activity hub useful for Decisions and input in programs. An adult picks one activity; not a single graded exam.

Code.org. “AI+CS education for ages 5 to 11.” External page; Gakuva does not copy, host, embed, or redistribute materials.

Unknown — link only

Check understanding and curriculum record

Family records and proof options

Keep a record of your learning

Save photos, notes, and attendance. Export a proof packet for compliance or portfolio reviews.

Check understanding

“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'?”
Full curriculum checks
  • 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
Curriculum record
Type
Procedural
Subject
Computing
Domain
Algorithms & Programming
Age range
Ages 8–13

Standards

acara-v9:AC9TDI4P04the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G5-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G5-C3.2the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G6-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G6-C3.2the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G7-C3.1the-ontario-curriculum-mathematics-2020:ON-MATH-2020-G7-C3.2the-ontario-curriculum-science-and-technology-20:ON-SCI-2022-G5-A2.1the-ontario-curriculum-science-and-technology-20:ON-SCI-2022-G6-A2.1