« K-8 Courses
This course is included with our Coding/STEAM Curriculum - K-8 Plan

# Programming 1A Icon Coding 10-Course Pack Space Cadet Dragon Spells Programming 1A Programming 1B Programming 100 Programming 300 Barbie™ You Can Be Anything™ Programming 101 Programming 102 Programming 201 Programming 202 Programming 301 Programming 302 JavaScript 101 Python 101 Web Development 101 Python 201 Drones 101 WeDo Coding Augmented Reality micro:bit 101 MicroPython 101 Life Science 101 Physical Science 101 Earth Science 101 Math 101 Social Studies 101 English 101 Life Science 201 Physical Science 201 Earth Science 201 Math 201 Social Studies 201 English 201

A puzzle-based introduction to coding concepts for beginners where they learn sequencing, pattern recognition, loops, and conditional logic.

• Beginner
• Web
• Voiceovers

## Programming 1A Lesson Plan

### Introduction

Students use loops and pattern recognition to help Gus the astronaut jump over obstacles. In "Module 3: Using Conditions," students are introduced to "if" statements.

### Tynker Blocks Introduced

• : If the condition is true, then run the code inside the block.
• : If the condition is true, then run the code inside the "if" case. Otherwise, run the code inside the "else" case.

### Vocabulary

• Condition: A logical expression that evaluates to true or false
• Conditional loop: A loop that performs an action if a certain condition is met

### Objectives

Students will...

• Identify conditions
• Solve puzzles using conditional logic and loops

### Warm-Up (25 minutes)

1. Draw this chart on the classroom board:
2. Ask, "If you hear the fire alarm, then what should you do?" (line up at the front of the door). Say, "Correct! If you hear a fire alarm, then line up at the front of the door." Write down the answer underneath the "then" column.
3. Ask "If you have a question in class, then what should you do?" (raise your hand). Say, "Correct! If you have a question in class, then you raise your hand. "Write down the answer underneath the "then" column.
4. Add more rows and fill in the chart with more everyday examples:

• If your shoelace is untied, then what do you do? (tie your shoe)
• If you need to sharpen your pencil, then what do you do? (use a pencil sharpener)
• If you fall on your knee and get a bad scrape, then what do you do? (tell the teacher)
5. Continue connecting conditions and responses with arrows.
6. Explain that we've been creating if statements. An if statement tells us what to do if something (a condition) is true. For example, "If you hear the fire alarm, then line up" is a conditional statement.
7. Say, "Computers need to be programmed, or told, to act this way. We program computers to react to things using 'if' statements."
8. Encourage students to work with a partner and think of more "if" statement examples. Discuss.

### Activities (40 minutes)

#### 1. Detect the Pattern (Puzzle)

• Students can solve this puzzle by placing the "jump" and "walk" blocks three times, but encourage them to use the "repeat" block.
• Give a hint: Tell students that two blocks go inside the "repeat" block.

#### 2. Two Loops (Puzzle)

• In this puzzle, students have the opportunity to discover various creative solutions. If students quickly find one solution, challenge them to create a different solution using two "repeat" blocks or a different sequence of steps.

#### 3. Using Conditions (Puzzle)

• This puzzle introduces the "if" block, which tells Gus to check the space in front of him, and what to do if there is an alien.
• Remind students of today's warm-up activity. Say, "Gus needs instructions that tell him to react to what he sees, and we can do that by using the 'if' code block."

#### 4. The Else Block (Puzzle)

• This puzzle introduces the "if-else" block, which has two separate possible outcomes.
• Explain that "else" is another way of saying "otherwise."

#### 5. Do It In a Loop (Puzzle)

• This puzzle brings back the "repeat until" block, which was introduced in Lesson 3. Remind students that "repeat until" makes Gus repeat all blocks inside of it until he reaches the power cell.
• Students can solve this puzzle by placing only "walk" and "jump" blocks, but encourage them use a "repeat" and "if-else" code block.

#### 6. Until Gus Reaches the Goal (Puzzle)

• The solution is the same as the previous puzzle, but this puzzle includes different obstacles.

### Optional Activities (20 minutes each)

Conditional Logic Practice:

Draw this chart on the classroom board. As a class, fill in the blanks. Encourage students to act out the sentence as you say it out loud.

Review:

• What was the most challenging puzzle for you?
• Who can give me an example of an "if" statement? Who can give me an example of an "if-else" statement?
• What's the difference between "if" and "if-else" statements?

### U.S. Standards

• CCSS-ELA: RI.1.1, RI.1.6, RI.1.10, RF.1.4, RF.1.4.A, RF.1.1, SL.1.1, SL.1.2, SL.1.3, RI.2.1, RF.2.4, RF.2.4.A, RI.2.6, SL.2.1, SL.2.2, SL.2.3
• CCSS-Math: MP.1, 1.OA.B.3, 2.OA.B.2
• CSTA: 1A-AP-08, 1A-AP-09, 1A-AP-10, 1A-AP-11, 1A-AP-14
• CS CA: K-2.AP.10, K-2.AP.12, K-2.AP.13, K-2.AP.16
• ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 7.c

### U.K. Standards

Key stage 1

Pupils should be taught to:

• understand what algorithms are, how they are implemented as programs on digital devices, and that programs execute by following precise and unambiguous instructions
• create and debug simple programs
• use logical reasoning to predict the behaviour of simple programs
• use technology purposefully to create, organise, store, manipulate and retrieve digital content
• use technology safely and respectfully, keeping personal information private; identify where to go for help and support when they have concerns about content or contact on the internet or other online technologies

Key stage 2

Pupils should be taught to:

• design, write and debug programs that accomplish specific goals, including controlling or simulating physical systems; solve problems by decomposing them into smaller parts
• use logical reasoning to explain how some simple algorithms work and to detect and correct errors in algorithms and programs
• understand computer networks, including the internet; how they can provide multiple services, such as the World Wide Web, and the opportunities they offer for communication and collaboration
• use technology safely, respectfully and responsibly; recognise acceptable/unacceptable behaviour; identify a range of ways to report concerns about content and contact

## Class Presentations

These student-facing slide presentations help educators seamlessly run Tynker lessons in a virtual or physical classroom setting. Each lesson has its own set of slides that introduce the big ideas, suggest unplugged activities, and include a section for each activity module. While running lesson slides, you can switch back and forth between the activity, the slides, answer keys and other lesson materials.
Lesson 1
Welcome
14 Slides
Lesson 2
Connect Code Blocks
34 Slides
Lesson 3
Recognize the Pattern
21 Slides
Lesson 4
22 Slides
Lesson 5
Sequencing
21 Slides
Lesson 6
Conditional Logic
23 Slides
Lesson 7
Conditional Loops
24 Slides
Lesson 8
Draw Simple Shapes
27 Slides
Lesson 9
Squares, Triangles, and Staircases
20 Slides
Lesson 10
Sequencing Review
24 Slides
Lesson 11
Use Repeat Loops
25 Slides
Lesson 12