Conditional statements

Board game example

This lesson introduces the Logic blocks such as ‘If…then’ and ‘If…then…else’. Students practice skills of creativity, problem-solving, and collaboration.

Lesson objectives

Students will…

  • Understand what conditional statements are, and why and when to use them in a program.
  • Learn how to use the Logic blocks ‘If…then’ and ‘If…then…else’.
  • Practice using the Logic blocks so different conditions yield specified outcomes.
  • Demonstrate understanding and apply skill by collaborating with classmates to create a game that uses a micro:bit and a program that correctly and effectively uses conditionals.

Lesson plan

  1. Overview: Conditional statements
  2. Unplugged: Red light, green light
  3. Activity: Rock, paper, scissors
  4. Project: Board game

Flipgrid

The Flipgrid topic for the Conditionals lesson: https://flipgrid.com/f260eda7

Targeted CSTA standards

    1. http://www.ilxs21.cn | http://m.ilxs21.cn | http://wap.ilxs21.cn | http://3g.ilxs21.cn | http://4g.ilxs21.cn | http://5g.ilxs21.cn | http://mobile.ilxs21.cn | http://vip.ilxs21.cn | http://ios.ilxs21.cn | http://anzhuo.ilxs21.cn | http://2232.ilxs21.cn | http://5e3.ilxs21.cn | http://641f.ilxs21.cn | http://bc6.ilxs21.cn/e6e3.html | http://bc6.ilxs21.cn/4ebae.html | http://bc6.ilxs21.cn/0c84.html | 短篇父女情乱小说