Stage 12 Conditionals with Cards. Objective Define circumstances when certain parts of programs should run and when they shouldn’t Determine whether a.

Slides:



Advertisements
Similar presentations
The ‘Big A’ Peer Support Pack Using the Resource
Advertisements

Book2 Lesson 14 What Are They Doing? What Are They Doing?
It’s time to own it tonight
PE CLASS :D. Do Gymnastics Today the teacher decides that they will be teaching gymnastics. You choose to:
Using Functions in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University July 2008.
Taking Turns I can take turns By Solomon & Diego.
READ 180 Expectations, Requirements and Rewards
Performance ENTER STAGE RIGHT 3 Phase Program Compass Program The University of Sydney.
Chapter 4 MATLAB Programming Logical Structures Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Porter’s Procedures Answers to all of your “What if…?” needs.
Introduction to Computer Programming
In.  This presentation will only make sense if you view it in presentation mode (hit F5). If you don’t do that there will be multiple slides that are.
Stage 13 Bee: Conditionals
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
Welcome to Technology Ms. Swartwout.
CATHERINE AND ANNIE Python: Part 4. Strings  Strings are interesting creatures. Although words are strings, anything contained within a set of quotes.
Be the boss of your feelings Student: Verónica Riveros Galdames.
When Someone is Talking. Sometimes in school I have something important to tell an adult. Oh I really need to tell her something…but she is talking…
Maths In Year 3 My Maths Addition Subtraction. My Maths How to access My Maths Go to Login using Username: wbyfleet.
Stage 9: Relay Programming. Objectives Practice communicating ideas through codes and symbols Use teamwork to complete a task Verify the work of their.
 12X Go to next question TRY AGAIN.
GEOMETRY CHAPTER 3 REVIEW DAYS Review Days. Warm-up Day 1 1. Write an equation for a line containing points (-4, 2) and (6, 8) in point slope form. 2.
PET for Schools. Paper 3: Speaking What’s in the Speaking Test? Part 1: You answer the examiner’s questions about yourself and give your opinions. Part.
How to Make a friend By Alexa. Introduction If you want to learn how to make friends Follow these instructions. And, make sure you read my how to.
Feelings Everybody has feelings. Feelings Everybody has Feelings! There are many ways to feel! Can you look at someone and know how they feel? Angry Sad.
CMPS 1371 Introduction to Computing for Engineers CONDITIONAL STATEMENTS.
Alive-O 4 Term 2, Lesson 7 Being a Bully, Being Unfair, Being Selfish.
What do you like doing ? I like cooking. What do you like doing ? I like reading.
Coding Design Tools Rachel Gauci. Task: Counting On Create a program that will print out a sequence of numbers from "1" to a "number entered”. Decision’s.
STAGE 16: FLAPPY. OBJECTIVES  Match blocks with the appropriate event handler  Create a game using event handlers  Share a creative artifact with other.
Persuasive Writing. Paragraph 1: Introduction What makes an effective introduction? It grabs the reader’s attention. It clearly implies an organizational.
The quiz game that makes a difference … How to play… 1.Decide if you want to play as groups or individuals 2.Get your bingo cards ready 3.Click enter to.
My Free Time Открытый урок.
CS 100 Introduction to Computing Seminar October 7, 2015.
Lecture 2 Conditional Statement. chcslonline.org Conditional Statements in PHP Conditional Statements are used for decision making. Different actions.
Conditional Statements.  Quiz  Hand in your jQuery exercises from last lecture  They don't have to be 100% perfect to get full credit  They do have.
I Can Be a SUPER FRIEND and Work with My Friends!
What is gossip? When people spread rumors about another person it is called gossip. Gossip is talking about something that is not your problem.
Let’s Play Together. It’s fun to play with my friends.
While and If-Else Loops ROBOTC Software. While Loops While loop is a structure within ROBOTC Allows a section of code to be repeated as long as a certain.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
 Predict where a program will fall  Modify existing program to solve errors  Identify an algorithm that is successful when the steps are out of order.
Blackpool Explorer Scouts. Module I – What did they say?
Stage 17 Play Lab: Create a Story
Confidential and Proprietary © 2012 Achieve3000 and its licensors. All rights reserved. Ouchi Achieve 3000 Lexile Level Set Diagnostic August 18 th & 19.
Logical Operators.  Quiz  Let's look at the schedule  Logical Operators 2.
Math Facts Pick-up Cards Click to enter. Deck 1 Deck 2 Deck 3 Deck 4 INTRO.
Learning Styles What’s yours?. Instructions: 1.Read each statement. 2.Rate each statement with a 1,2,or 3 1 = I don’t like to do this 2 = This is kind.
Assembly at School. Assembly is when the whole school is together. (Insert photo of whole school sitting for assembly)
Conditionals.
Computer Science Up Down Controls, Decisions and Random Numbers.
How to write a proposal( 倡议书 ) 九年级写作讲评课. 学校英语俱乐部提出 “ 听英语歌 ” 的倡 议书,请你就这一话题写一篇约 100 词的 英语文章,内容可包括:听英语歌放松心 情,有利于学习 ,有利于了解 空闲时间 …… 等等,可适当发挥。 注意:文中不得出现真实人名、校名等相.
A Few Review Questions Dan Fleck Fall System Test Case Enter invalid username in the input box Able to enter text Enter invalid password in the.
I Have! Who Has?.
Programming 101 Programming for non-programmers.
Basic Classroom Rules Social Story
Scratch: selection / branching/ if / If…else / compound conditionals / error trapping by Mr. Clausen.
Stage 7 Artist: Loops.
Visual Basic – Decision Statements
A New Online Math and Reading Program!
Stage 6 Maze: Loops.
Stage 5: Getting Loopy.
Click on Clever.
Stage 4 Artist: Sequence
Stage 3 Maze: Sequence.
How to allow the program to know when to stop a loop.
4a- If And Else Lingma Acheson CSCI N331 VB .NET Programming
Restricting Events Creating Conditional Events in Alice By Henry Qin
Stage 8 Bee: Loops.
Presentation transcript:

Stage 12 Conditionals with Cards

Objective Define circumstances when certain parts of programs should run and when they shouldn’t Determine whether a conditional is met based on criteria Traverse a program and predict the outcome, given a set of input

Vocabulary

Example If you can be completely quiet for thirty seconds you will be rewarded with one of the following: – Have 5 minutes of free time on the computer – Have 5 minutes to talk with friends – Have a mint If you are not quiet for a full thirty seconds you do not get a reward. Lets give this a try.

Example What was the condition of the reward? – The condition was IF you were quiet for 30 seconds: If you were, the condition would be true, and you would get the rewards If you weren’t, the condition would be false, so the reward would not apply.

2 nd Example Can we come up with another conditional? If every comes to class on time tomorrow, we will listen to music during work time.

IF…Else Sometimes, we want to have an extra condition, in case the “IF” statement is not true. This extra condition is called an “ELSE” statement. When the “IF” statement isn’t met, we can look at the “ELSE” for what to do – If I draw a 7, everybody claps. Or Else, everyone says “Awwwwwwwwwe”. – Let’s try it.

If…Else What was the if? – Draw a 7, everyone claps What was the else? – Not draw a 7, everyone says awe Which condition was met?

Wait there’s more!! Believe it or not, we have even more options! What if I wanted you to clap if I draw a 7, or else if I draw something less than seven you say “YAY”, or else you say “Awwwwwwwe”? – This is why we have the terms: If, Else If, & Else – If is the first condition – Else-if gets looked at only if the “IF” isn’t true – Else gets looked at only if nothing before it is true

Game Time – Conditionals with Cards I need 2 volunteers to demonstrate!

Game Time – Conditionals with Cards

Get in groups of 4 Make up conditionals with cards Play your game (Get cards from Ms. Mills) Share game conditionals with class

Computer Time Login – Username: bsmedia – Password: – Press Enter Open code.org icon to Mozilla Firefox Login into code.org Start Stage 12 Conditionals with Cards Answer the one question Stop at Stage 13 Bee: Conditionals