Exploring Computer Science – Lesson 4-5

Slides:



Advertisements
Similar presentations
Sprite-visual object (actor on the stage) Scripts- Tells actors (sprites) what to do.
Advertisements

Input Devices Grade K-Digital Citizenship. Outcome: Students will identify input computer devices and what they do. Digital Citizenship.
Grade K-Digital Citizenship
Input and Output Devices Grade 1-Digital Citizenship.
Sequencing Miss Regan. Blood Hound  Does anyone know what the Bloodhound project is?  Video 1 Video 1  Video 2 Video 2  Link to website Link to website.
Microsoft Word Review Lesson
Timers Exploring Computer Science Lesson Objectives The students will be able to: Create a timer.
Summer Computing Workshop. Session 2 Input in Scratch  Multi-Character input - This is used when the user is prompted to enter a number or word.  Problems.
Exploring Computer Science 2/23/15 2/23 Develop a Scratch story project -Brainstorming 2/24 Develop a Scratch story project –Developing 2/25 Develop a.
Exploring Computer Science 2/16/15
How People with Disabilities Access the Web Web Design – Sec 2-5 Part or all of this lesson was adapted from the University of Washington’s “Web Design.
My Scratch Story Exploring Computer Science Lesson 4-7.
Exploring Computer Science 2/9/15 2/9Moving Scratch 2/10Moving Scratch worksheet 2/11 Scratch Baseball Game 2/12Scratch Alphabet Learning Game 2/13Game.
Exploring Computer Science 2/2/15 2/2No School 2/3Scratch creating a program- Name 2/4 Scratch creating a program Dialogue 2/5 Scratch creating a dialogue.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
Scratch Dialogues Exploring Computer Science – Lesson 4-3.
Unit 3 Music and Sound Evangel College S.2 ICT.
Scratch Another computer programming language Developed by MIT in 2003
 SCRATCH is a new programming language that lets you create your own interactive stories, animations, games, music, and art.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Scratch Lesson 1. Creating an account Open the internet browser : Safari or Internet Explorer Type in the URL scratch.mit.edu Using your school computer.
Introduction to Programming with Scratch Exploring Computer Science – Lesson 4-1.
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Review for Final June 13, 2016.
What is SCRATCH? Learning Objectives: to explore the Scratch website
© A+ Computer Science -
Exploring Computer Science Lesson 4-7
Exploring Computer Science – Lesson 4-5
How People with Disabilities Access the Web
Exploring Computer Science Lesson 4-13
Programming Final Project
Exploring Computer Science Lesson 4-14
Exploring Computer Science Lesson 4-10 – Part 1
Encoding Through the Keyboard
Name Project April 12,2016.
Scratch – Simple Programming
Introduction to Object-Oriented Programming
Getting Started with Scratch
EXPLORING COMPUTER SCIENCE
Programming Final Project
Lesson 1 Introduction to Scratch Basic blocks
Broadcasting Exploring Computer Science Lesson 4-6.
And and or…and RANDOMNESS
Lesson Objectives To understand how to make sprites interact
Moving Sprites in Scratch
Exploring Computer Science Lesson 4-13
Exploring Computer Science – Lesson 4-3
Conditionals Exploring Computer Science Lesson 4-9.
10 SCRATCH bLOCKS lesson 1 10 Blocks.
Programming Final Project
Exploring Computer Science Lesson 4-7
Getting Started with Scratch
Intro to Programming Mod 5 Lesson 2 10/19/2010.
Unit 5 Basic Motion Skills
Exploring Computer Science Lesson 4-8
Code to Enhance Learning
Image #1 Getting Started
Exploring Computer Science Lesson 4-12
Getting Started with Scratch
Exploring Computer Science Lesson 4-14
Theoretical Revision ICT Report-4 Exam
What is SCRATCH? Learning Objectives: to explore the Scratch website
The monitor shows information.
Exploring Computer Science Lesson 4-13
Creating a Simple Game in Scratch
CSC 221: Introduction to Programming Fall 2018
Exploring Computer Science Lesson 4-12
Scratch 7B IT 1.
Exploring Computer Science Lesson 4-10 – Part 1
Presentation transcript:

Exploring Computer Science – Lesson 4-5 Event Driven Programs Exploring Computer Science – Lesson 4-5

Objectives The students will be able to: Make a sprite change costumes. Make a sprite speak…in text and/or sound. Initiate programming action with user input.

Discussion How do programs know what to do next? In other words… If you are surfing the web, how does the computer know what page to go to next? Or… if you are playing Call of Duty: Ghosts, how does the game know what you want to do?

Event Driven Programs The programs you have written so far have really just been animations. You click the and then sit back and watch what happens. In all these cases, the program controls the action. In an event driven program, the user controls the actions by typing a key, clicking the mouse, etc. The outcome of the program is not known in advance.

Scratch Event Blocks Scratch event blocks are found in the control section and have a shape like this: You have already used one event block! And SOME of you have used some others!!!

Scratch Event Blocks There are 2 more event blocks: When a sprite is clicked When _ key is pressed

Your First Game You will be creating an Alphabet Learning Game.

Alphabet Game Requirements Have at least 10 different letters. Have a theme for your letter game (i.e. animals, food, etc.). Sprites change costume when clicked on. Sprites change costume when letter is typed on keyboard. Use the “say _ for _ sec” to output what the letter stands for (i.e. “E is for Elephant”). Sprites all turn to letters when the “when green flag clicked” is clicked.

Alphabet Game – Extra Credit For extra credit… Use a sound file or a microphone to record sounds for all the letters and play the sound when the letter is clicked or typed (i.e. “E is for Elephant” and the sound of an elephant)

Rubric Do you… Points Possible What Do You Think? Have at least 10 different letters? 20   Have a theme for your alphabet game (i.e., animals, cars, food, games, etc.)? 5 Have each sprite change costume when clicked on? Have each sprite change costume when the associated keyboard letter is typed? Use the “say ( ) for ( ) sec” block to output what the letter stands for (i.e., “L is for leopard”)? Have all sprites reinitialized to letters when the green flag is clicked? 10 Have correct grammar, punctuation, capitalization and spelling? Extra Credit Use a sound for all letters in addition to text and play the sound when the letter is clicked or typed? TOTAL: 100