Lesson 1: Scratch Computer Programming
-
Upload
seniorinfants -
Category
Education
-
view
1.604 -
download
0
Transcript of Lesson 1: Scratch Computer Programming
Lesson 1
• What is coding?• How do I make my character
move using code?
What is computer programming/coding
??
What is Coding?• https://
www.youtube.com/watch?v=THOEQ5soVpY
Coding/programming is…• Writing a list of instructions that you
want the computer to follow in a certain order.
Scratch• One program that allows us to make
SIMPLE games/videos/stories/etc.• Gives us the tools to make our own
programme.
Professional Code
Scratch Code
Uses blocks instead of
complicated numbers or
words
Sprite
Start the Programme/Stop the Programme
Scripts/Blocks of Code
Categories of Scripts/Blocks
You must start every code with a ‘When __ clicked’
Other blocks can be added to the ‘when clicked’ block by snapping them together like a jigsaw…
You try:• Open the programme• Show me the sprite with your mouse• Show me the ‘go’ sign with your mouse• Show me the ‘stop’ sign• Drag a block of script (instruction) from
the menu onto the blank canvas• Drag and drop it back into the middle
to delete it• Change the block category to ‘Looks’.• Drag a block onto the canvas• Make it disappear again• Change the block category to ‘Events’.• Choose the block and drag it to the canvas.• Delete the block again
Making a Sprite Move• https://scratch.mit.edu/help/videos/
Can you:• Show your partner:
– How to move forward 20 steps when you press the ‘go’ button
– Drag your cat back to where she started using your mouse
– Delete your ‘script’– Make your cat move forward 50 steps– Drag your cat back to where she started and delete
your script– Move your cat backwards 10 steps. – Delete your script– Move your cat backwards 20 steps
Explore…• See if you and your partner can find
out how to do something new using ‘Scratch’
Extension: • Explain it to the class