Return to Video

Unplugged - Conditionals with Cards

  • 0:05 - 0:12
    This lesson is called conditionals with cards.
    Every day you make decisions based on what
  • 0:12 - 0:19
    you see and hear. I want to walk to the park
    but first I have to decide if I should
  • 0:19 - 0:25
    bring an umbrella or not. So I look out the
    window. If it's cloudy, I'm going to take
  • 0:25 - 0:30
    my umbrella. Else, I'll take some sunglasses.
    I think I'd better take the umbrella. What
  • 0:30 - 0:37
    I see and hear determines what I take to the
    park. Conditionals are used in games too.
  • 0:37 - 0:41
    Today we're going to practice using conditionals
    with a card game. In this game, the card that
  • 0:41 - 0:50
    I draw determines what my friends are going
    to do. If I draw a seven, everyone claps.
  • 0:50 - 1:03
    Else, everyone says "awww." Let's try it!
    I bet you can make up games
  • 1:03 - 1:09
    that are even more fun with conditionals.
    Give it a try! Conditionals are what make
  • 1:09 - 1:15
    computers seem smart. A computer program that
    includes conditionals can react to the user
  • 1:15 - 1:20
    and change its course of action. Think about
    your favorite video game. Do you earn more
  • 1:20 - 1:26
    points for some actions than you do for others?
    This occurs because the computer is using
  • 1:26 - 1:34
    conditionals. It's the way a computer makes
    a decision. How about, if you hit the target,
  • 1:34 - 1:40
    you earn ten points. Else, you lose three.
    When you know how conditionals work, you can
  • 1:40 - 1:42
    create all kinds of exciting games.
Title:
Unplugged - Conditionals with Cards
Video Language:
English
Team:
Code.org
Project:
CSF '21-'22
Duration:
01:45

English subtitles

Revisions Compare revisions