Test the Towers of Hanoi Algorithm

Slides:



Advertisements
Similar presentations
30 min Scratch July min intro to Scratch A Quick-and-Dirty approach Leaving lots of exploration for the future. (5 hour lesson plan available)
Advertisements

Events The brown events block in Scratch starts script's when certain things happen. For example, when the user presses a key, clicks sprites, or uses.
Get Going On ….. What is programming ? What programming software does the school have ? Load this PowerPoint.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
Interactive Programming Sec 49 Web Design. Objectives The student will: Understand the difference between movie mode and an interactive program Understand.
An Introduction to Scratch ‘Drumming’ Today, we are working towards… Investigate what the Scratch Program can do Use a ‘Design Notebook’ to record our.
1 Understand how to use Scratch to: – Animate a sprite – Add sound to your script – Use the forever command to create a loop Lesson 2: Learning Objectives.
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
Unit 3 Music and Sound Evangel College S.2 ICT.
How do you position a group of numbers that include decimals, fractions and integers on a number line?
Comparing and Ordering Numbers How do we know which number is largest?
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
Scratch Programming Lesson 1 Moving objects with sound and changing colours.
Stage 6: Bee: Functions What do you remember from the last class? What did you like the best? Any questions?
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.
Advanced issues in Robotics and Programming Dr. Katerina G. Hadjifotinou Experimental Junior High School of the University of Macedonia.
Learning to use a ‘For Loop’ and a ‘Variable’. Learning Objective To use a ‘For’ loop to build shapes within your program Use a variable to detect input.
ADDING AN INSTRUMENT IN CUBASE MUSIC TECH. Right click anywhere in the blank space in the second grey panel on your project screen.
7. INPUTTING THE PART (CHORDS) MUSIC TECH. Make sure you have a blank part set up and the pointer icon selected. Double-click on the empty part to start.
BEGINNER PROGRAMMING LESSON
Movement Game Design (Scratch).
Programming & Scratch.
Mission: design a Virtual interactive tour guide with scratch
Intro CS – Keyboard and mouse input
Encoding Through the Keyboard
Kodu.
Basic operations in Matlab
Unit 2 Getting Started With
Introduction to Events
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Learn… Create… Program
Module 5 Lesson 3 Extreme Scratch Cards
Motion and Looks.
Lesson 1 Introduction to Scratch Basic blocks
Learn… Create… Program
Global Challenge Flashing Wheels Lesson 2.
Interactive Programming
I Can’t Hear You! Sound Get out your notes.
Using the sensor Lesson 5.
At least two sprites moving on the stage.
MAKE YOUR SKILLS VISIBLE
Global Challenge Flashing Wheels Lesson 2.
Learning Objectives Explain how selection is used to change a program output Decompose a problem with inputs to help design a program Describe the use.
Test the Towers of Hanoi Algorithm
ICT Gaming Lesson 3.
I Can’t Hear You! Sound Get out your notes.
Building a Game in Scratch
Game Over Module 4 Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Learning Targets Career: Discover strengths/experiences
I can program behaviours using inputs and outputs
Global Challenge Flashing Wheels Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Learn… Create… Program
Learn… Create… Program
Using the sensor Lesson 5.
Global Challenge Flashing Wheels Lesson 2.
Scratch Lesson 2.
Global Challenge Flashing Wheels Lesson 2.
Mod 5 Lesson 1 Scratch Cards: Easy
Global Challenge Flashing Wheels Lesson 2.
Timeline of Events.
Playing with Pictures Module 1 Lesson 3.
Makey Makey!.
Put the on A on the keyboard.
Global Challenge Flashing Wheels Lesson 2.
I Can’t Hear You! Sound Get out your notes.
Lesson Five Music.
Interactive Programming
Presentation transcript:

Test the Towers of Hanoi Algorithm Scratch Test the Towers of Hanoi Algorithm Module 1 Lesson 5 Playing with Music

Checking your Algorithm Go to the following link (Same on as on the PowerPoint from Monday) http://www.mazeworks.com/hanoi/index.htm Use this website to test your algorithm If it works have your neighbor test it, sign it off and turn it in.

Learning Objectives To learn about Event Handlers by programming scripts that are triggered by input from the computer keyboard. To allow students to create a sequence of commands to play a musical scale Apply these skills for the Battle of the Bands challenge.

Responding to Triggers ‘When’ commands are the main way a script detects an event when user input is received.

Right Arrow Moving Forward Your Turn. Make the Cat move up, down, left, and right. Extensions Have it turn when it goes another direction. Experiment with the change x by, change y by, move …

The notes are one half step differences. Your turn #2, using the playnote command, write a program that will play a scale when the space bar is hit. Hint: The notes are one half step differences. A major scale goes 2 half steps, 2 half steps, 1 half step, 2 half steps, 2 half steps, 2 half steps, one half step.

Making Music Possible solution for creating a scale. How can you use these triggers to make your keyboard into a piano, … Battle of the Bands Challenge Who can get Scratch to put on the best show? Requirements: Use the play sound and play drum commands. Create an original song/combination of sounds No meow!! Include at least two comments Include project notes: Name, Date, Name of the Project Demonstrations in class tomorrow. Save it as YourNameBattleLesson5 Making Music