Lesson Seven Conditionals.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you to get and stay organized?
Advertisements

Mission Technology Introduction to Scratch! June 2007.
Scratch for Storytelling Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech June 2011.
Introduction to Nvu Jing Fu. What is nVu? Free web design and development tool WYSIWYG (/wiziwig/) software Other similar tools: Dreamweaver, Googlepages.
Review of last Session Adding custom html Adding custom html HTML is the language that web servers understand, all web pages are created using HTML. HTML.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Scratch the Cat. Object Oriented Programing Writing computer programs Based on Objects Instead of Actions Based on Data Instead of Logic.
Introduction to Scratch!
© 2011 Delmar, Cengage Learning Chapter 7 Managing a Web Server and Files.
Using School fusion A great interactive tool to aid in communication for students, parents and YOU!!! Property of TSVest 2006.
Kimberly Otos FACS Instructor Mandan High School WEEBLY 101.
Microsoft ® Office PowerPoint ® 2003 Training Create your own template [Your company name] presents:
Level 1 Tutorial Project How to put a movie player on your Weebly website using an HTML code.
4. How did you use media technologies in the construction, research, planning and evaluation stages?
MICROSOFT WORD 2010 Lesson 6: Word Templates. The goal of this lesson is for the students to successfully create and work with templates. The student.
Guide to Completing Your Project Rabecka Collins.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
First Project: Dance Dance Sprite  Write a dance with your sprite (You pick or create the sprite)  Incorporate as many of the Motion Commands as you.
The first thing you need to do is log in. This is what the “Log In Screen” looks like. Remember to get teacher permission and login information prior.
How to create a sprite Delete a sprite (e.g. the cat) by right clicking on it and choosing delete. Go to the bottom right hand corner and choose a new.
How to create an educational wiki. Laurie Roberts 2010.
Madlib-Input, Strings, and Lists in Scratch Barb Ericson Georgia Tech.
3 Apps for Primary Teachers to Organize Center Activities iPossibilities Conference – June 10, 2014 Amanda Hanna
Hstry.co Interactive Timelines. Sign Up for Hstry.co Easy as 1, 2, 3! Log in to Hstry.co and sign up as a teacher. You can sign up using your Google Account.
01 OPTIONS 01 OPTIONS Lorem Ipsum In play mode, click the image in the tab to the left. This will load the slide for the option clicked. Be sure to edit.
Introducing Scratch Learning resources for the implementation of the scenario
Review for Final June 13, 2016.
The Victorian Games & Apps Challenge Design Brief (PowerPoint)
Visual Basic .NET BASICS
Finishing a Presentation in PowerPoint 2016
Weebly Elements, Continued
Intro CS – Loops, making animations & films
-Type text and adjust font/size To add images:
Madlib-Input, Strings, and Lists in Scratch
Microsoft Visual Basic 2005 BASICS
Customizable Focus Walls
Spanish Mad libs with Scratch
Shelly Cashman: Microsoft Word 2016
Editing Instructions To add text: -Insert -Text Box
ICT & Statistics Center
Saving, Modifying page, grammar & spell checking, and printing
Get thinking: What is the problem, issue or challenge you want to take on? 
© Paradigm Publishing, Inc.
Christina C. Wray & Sarah Norris
Introduction to Object-Oriented Programming
Peer Reviews Tips for the author.
Giving Your Character Life By Using Quotation Marks
Managing a Web Server and Files
Introduction to TouchDevelop
An audio and visual tutorial
Scratch for Storytelling
Go to =>
Comic Life in the Classroom
Design Brief.
2.02D Computer Animation Software and Design Guidelines
Learning How to Create an Online Interactive Poster using
Rules for Using Chromebooks ©2014,2018 HappyEdugator.
Guide to TURNITIN ACCOUNT UPDATE
Lesson Twelve Video Sensing.
Lesson One Movement.
Lesson Two Sprites.
Lesson Eleven Moving Backgrounds.
Lesson Six Drawing.
Lesson Ten Lists.
Lesson Five Music.
Lesson Nine Variables.
Giving Your Character Life By Using Quotation Marks
Presentation transcript:

Lesson Seven Conditionals

Skills Use sensing commands to request user input Use conditionals to add interactivity based on that input

A set of rules performed if a certain condition is met Conditional A set of rules performed if a certain condition is met

What’s the difference between these two conditionals? If criteria is met, something will happen If criteria is met, something will happen. If criteria is not met, something else will happen.

Create a new project Title it Conditionals Keep the cat!

We will write this interactive program

Start with when this sprite clicked trigger and add ask and wait code block Add two say code blocks

Drag answer into the text box for your first say code block This gives you the option to display the answer on the screen. Leave it unchecked for now. Shorten to 0.5 Type: is an awesome name! Test it out!

happening in two word bubbles? Does it feel too choppy happening in two word bubbles? Delete your second “say” command

Drag join apple banana code right on top of answer It will replace it and answer will pop out

Drag answer on top of apple, and type “is an awesome name” over banana Now the cat will repeat whatever is typed by the user and the rest of the sentence all in the same word bubble.

Add your dog sprite, his trigger, and his question

Add if…then code block

Drag into the hexagon

Drag answer into the first oval

Write “whirl” in the second oval Make sure there are no spaces around the word Add a change whirl effect (default is color, just click arrow to change)

What happens when you ask the dog to whirl multiple times?

We need to add clear graphic effects right after our trigger so our dog will go back to normal Can you program some more effects? (color, mosaic, fisheye, pixelate)

Solution

Can you code the fox? He needs to ask you what the capital of Alaska is. If you say “Juno,” he should tell you that you are correct. If you say anything else, he should tell you that you are wrong. You will need this code Extra Challenges: Add a background change to match the answer Add a movement to match the answer Add a sound effect to match the answer

Solution

Your Turn! Make an interactive study tool for one of your classes: Must include at least 5 questions User must be required to input information and then receive feedback Incorporate some fun effects for right and wrong answers (still be kind for wrong answers) Submit to Lesson 7 in the class studio.

12-Lesson Discounted Bundle Bonus Files Final project with Guidelines Rubric Reflection Assignment Student Support Website A support page for each lesson to aid students while working independently https://www.teacherspayteachers.com/Product/Computer-Coding-in-Scratch-10-Lessons-BUNDLE-3870547

Click for individual lessons

Technology & Digital Design Lessons

Literature, Writing, & Grammar Lessons

Novels

https://www.teacherspayteachers.com/Store/Miss-Bs-Shop

Terms of Use & Credits By downloading this product you are given permission for classroom and personal use only. You may alter and modify this work for your own use, but please do not share, sell, or post online. Please consider rating this resource. Your ratings earn you TpT credits to apply discounts towards future purchases. Use the link to go to the “My Purchases” tab and rate any products you have downloaded. Note that there is a separate “paid downloads” and “free downloads” tab. https://www.teacherspayteachers.com/My-Purchases Cover art from Tangerine by Edward Bloor. Copyright ©1997 by Edward Bloor. Reprinted by permission of Houghton Mifflin Harcourt Publishing Company. All rights reserved. All other images in products and on cover art (thumbnail images) were found in the public domain. The public domain consists of all the creative works to which no exclusive intellectual property rights apply. Those rights may have expired, been forfeited, expressly waived, or may be inapplicable. Screenshots that are taken from Adobe CC Suite, Microsoft Office Suite, iMovie, and Scratch are in compliance with Fair Use guidelines.