SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
An intro to programming
concepts with Scratch
Prepared By Bilal Hanbali
This work is licensed under a Creative Commons Attribution 4.0 International License.
SCOPE
What is scratch? Why ? How ?
Scratch is a free object-
oriented software
development kit (SDK) that
allows children age 8-16 to
create animations,
interactive stories, games
and music without needing
to know a specific
programming language.
• Scratch does NOT
require syntax
• Scratch can be used to
create sophisticated
programs
• Scratch is extensible
Scratch can either be used
online in a web browser, or
downloaded and used
offline.
Online
https://scratch.mit.edu/
Offline
https://scratch.mit.edu/dow
nload
Scratch Programming
What is Scratch?
• Scratch is a simple environment designed by the Kindergarden
Lifelong Learning Group at MIT.
• In Scratch, sprites (objects) are manipulated on the stage
(background) using various scripts (small program segments).
Each sprite has its own set of scripts to control its behaviors and
how it interacts with other sprites and events.
What is Programming
• Programming
• A computer program is simply to
• It is like a recipe: a set of instructions to tell a cook how to make a dish.
is the art of making a computer do what you want it to do
a set of instructions Tell computer how to perform a task.
Why Scratch
•Help kids become fluent with
Digital media
Express themselves creatively
Make connections to powerful ideas.
Learn important computational ideas.
Reason systematically.
Let’s Get Started!
BASIC INTERFACE
MENU:
• This is how you can create a ‘New’ project, ‘Open’ or ‘Save’ an existing
project, ‘Save (a new project) as’ whatever name you choose, ‘Undo’ a
previous action, and obtain ‘Help’.
BLOCK DESCRIPTIONS:
The block categories are all color coded so
when you see a block of a specific color,
you can quickly determine which category it
came from.
GREEN FLAG / RED STOP
• Typically you click on the Green Flag to start your main program(s) and
the Red Stop sign to end them.
LEARNING TO SCRATCH
• The best way to learn Scratch is through experimentation. As it is an
interactive environment, feel free to stop and experiment as you work
through this tutorial.
WRITING SIMPLE SCRIPTS
• To create a script, we simply drag a block from the Blocks Palette onto
the Scripts Area. To run it, we can double-click it and observe what
happens on the stage. Let’s try…
Can be an number
Training Objective
Dancing CAT
STEPS
Step 1
• Start
Moving
Step 2
• Add a
Sound
Step 3
• Start a
Dance
Step 4
• Loop
Double click on the desktop icon
Drag a MOVE block into the Scripts area Add a Sound
Drag out a PLAY DRUM and snap it onto the MOVE block.Click on the block to make the cat move.
Behind the code
• Drag out a PLAY DRUM and snap it onto the MOVE block.
Click and listen.
If you can’t hear it,
check that the
sound on your
computer is on.
You can choose different
drums from the pull-down
menu.
Start a Dance
Add another MOVE block. Click
inside the block and type in a
minus sign.
Click on any of the
blocks to run the
stack.
Add another PLAY
DRUM block, then
choose a drum
from the menu.
Click to run.
Again and Again
Drag out a REPEAT block and drop it on top of the stack. You want the mouth of
the REPEAT to wrap around the other blocks.
To drag a stack, pick it up from the top block.
Green Flag
Whenever you click the green flag, your script will start.
To stop, click the stop button.
Add a Background
Scratch Programming
Where to find Scratch
• Online Verison - http://scratch.mit.edu
• Offline Version - https://scratch.mit.edu/download
• Requirements- Adobe AIR - https://get.adobe.com/air/
• Support Materials -
https://scratch.mit.edu/scratchr2/static/sa/Scratch2StarterProjects.zip
https://cdn.scratch.mit.edu/scratchr2/static/__709da8e5f3d72129538a4
ccdbcbf5f2a__/pdfs/help/Getting-Started-Guide-Scratch2.pdf
https://cdn.scratch.mit.edu/scratchr2/static/__709da8e5f3d72129538a4
ccdbcbf5f2a__/pdfs/help/Scratch2Cards.pdf
Try Your First Project!

More Related Content

PPT
Introduction to Scratch Programming
PPTX
Scratch programming
PPTX
PDF
Coding Basics with Scratch
PPT
Intro To Scratch
PDF
Scratch Animation
PPTX
Scratch: Programming for everyone
PPTX
Scratch Lesson 1
Introduction to Scratch Programming
Scratch programming
Coding Basics with Scratch
Intro To Scratch
Scratch Animation
Scratch: Programming for everyone
Scratch Lesson 1

What's hot (20)

PPTX
Lesson 1: Scratch Computer Programming
PPTX
Scratch programming introduction to game creation
PPT
Scratch Lesson 1 – Basics
PPTX
Computer Coding with Scratch: Lesson 2_primaryschoollessons
PPT
Introduction to scratch
PPTX
Programming in scratch
PPT
Mini Scratch Unit
PPTX
Lecture 1.pptx
PPTX
Scratch Basics
PPT
Scratch for Data Logging and Graphing
PPTX
MS EXCEL PPT PRESENTATION
PPTX
Computer keyboard
PPSX
App Inventor
PPTX
Scratch Lesson 2
PPTX
ppt of flowchart
PPS
Microsoft Paint
 
PPTX
Introduction to Programming Languages
PPT
An Intro to Scratch Programming for Parents
PPTX
What is an algorithm?
Lesson 1: Scratch Computer Programming
Scratch programming introduction to game creation
Scratch Lesson 1 – Basics
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Introduction to scratch
Programming in scratch
Mini Scratch Unit
Lecture 1.pptx
Scratch Basics
Scratch for Data Logging and Graphing
MS EXCEL PPT PRESENTATION
Computer keyboard
App Inventor
Scratch Lesson 2
ppt of flowchart
Microsoft Paint
 
Introduction to Programming Languages
An Intro to Scratch Programming for Parents
What is an algorithm?
Ad

Similar to Scratch Programming (20)

PPTX
Scratch for kids language in Program.pptx
PDF
Getting started-guide-scratch2
PDF
Guide scratch2
PDF
Getting started-guide-scratch2
PDF
Getting started--Scratch Programming
PDF
PDF
How do I learn to code with Scratch in AEP
PPTX
STUDENTS COPY-COMPUTER 6-WK2-1STQTR-24-25.pptx WEEK 2 OF THE FIRST QUARTER
PPTX
COMPUTER 6-WK2-1STQTR-24-25.pptx FIRAT DAY CLASSES
PDF
Learn scratch-programming-e book
PPTX
Introduction to Scratch Programming.pptx
PPTX
Lesson 17 - Presentation - Introduction to coding with code blocks.pptx
PPT
Scratch To Flex Your Creativity Workshop
PPT
Scratching the surface
PPT
Scratching the surface
PPTX
Learn to Code and Have Fun Doing It!
PPT
Scratch Introduction
PPTX
Start developing projects with Scratch Programming
PDF
iPads in the Early Years Classroom
Scratch for kids language in Program.pptx
Getting started-guide-scratch2
Guide scratch2
Getting started-guide-scratch2
Getting started--Scratch Programming
How do I learn to code with Scratch in AEP
STUDENTS COPY-COMPUTER 6-WK2-1STQTR-24-25.pptx WEEK 2 OF THE FIRST QUARTER
COMPUTER 6-WK2-1STQTR-24-25.pptx FIRAT DAY CLASSES
Learn scratch-programming-e book
Introduction to Scratch Programming.pptx
Lesson 17 - Presentation - Introduction to coding with code blocks.pptx
Scratch To Flex Your Creativity Workshop
Scratching the surface
Scratching the surface
Learn to Code and Have Fun Doing It!
Scratch Introduction
Start developing projects with Scratch Programming
iPads in the Early Years Classroom
Ad

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Classroom Observation Tools for Teachers
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Lesson notes of climatology university.
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
102 student loan defaulters named and shamed – Is someone you know on the list?
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Computing-Curriculum for Schools in Ghana
Microbial diseases, their pathogenesis and prophylaxis
Classroom Observation Tools for Teachers
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Supply Chain Operations Speaking Notes -ICLT Program
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Module 4: Burden of Disease Tutorial Slides S2 2025
Lesson notes of climatology university.
Final Presentation General Medicine 03-08-2024.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
2.FourierTransform-ShortQuestionswithAnswers.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...

Scratch Programming

  • 1. An intro to programming concepts with Scratch Prepared By Bilal Hanbali This work is licensed under a Creative Commons Attribution 4.0 International License.
  • 2. SCOPE What is scratch? Why ? How ? Scratch is a free object- oriented software development kit (SDK) that allows children age 8-16 to create animations, interactive stories, games and music without needing to know a specific programming language. • Scratch does NOT require syntax • Scratch can be used to create sophisticated programs • Scratch is extensible Scratch can either be used online in a web browser, or downloaded and used offline. Online https://scratch.mit.edu/ Offline https://scratch.mit.edu/dow nload
  • 4. What is Scratch? • Scratch is a simple environment designed by the Kindergarden Lifelong Learning Group at MIT. • In Scratch, sprites (objects) are manipulated on the stage (background) using various scripts (small program segments). Each sprite has its own set of scripts to control its behaviors and how it interacts with other sprites and events.
  • 5. What is Programming • Programming • A computer program is simply to • It is like a recipe: a set of instructions to tell a cook how to make a dish. is the art of making a computer do what you want it to do a set of instructions Tell computer how to perform a task.
  • 6. Why Scratch •Help kids become fluent with Digital media Express themselves creatively Make connections to powerful ideas. Learn important computational ideas. Reason systematically.
  • 9. MENU: • This is how you can create a ‘New’ project, ‘Open’ or ‘Save’ an existing project, ‘Save (a new project) as’ whatever name you choose, ‘Undo’ a previous action, and obtain ‘Help’. BLOCK DESCRIPTIONS: The block categories are all color coded so when you see a block of a specific color, you can quickly determine which category it came from.
  • 10. GREEN FLAG / RED STOP • Typically you click on the Green Flag to start your main program(s) and the Red Stop sign to end them.
  • 11. LEARNING TO SCRATCH • The best way to learn Scratch is through experimentation. As it is an interactive environment, feel free to stop and experiment as you work through this tutorial. WRITING SIMPLE SCRIPTS • To create a script, we simply drag a block from the Blocks Palette onto the Scripts Area. To run it, we can double-click it and observe what happens on the stage. Let’s try… Can be an number
  • 13. STEPS Step 1 • Start Moving Step 2 • Add a Sound Step 3 • Start a Dance Step 4 • Loop
  • 14. Double click on the desktop icon
  • 15. Drag a MOVE block into the Scripts area Add a Sound Drag out a PLAY DRUM and snap it onto the MOVE block.Click on the block to make the cat move.
  • 16. Behind the code • Drag out a PLAY DRUM and snap it onto the MOVE block. Click and listen. If you can’t hear it, check that the sound on your computer is on. You can choose different drums from the pull-down menu.
  • 17. Start a Dance Add another MOVE block. Click inside the block and type in a minus sign. Click on any of the blocks to run the stack. Add another PLAY DRUM block, then choose a drum from the menu. Click to run.
  • 19. Drag out a REPEAT block and drop it on top of the stack. You want the mouth of the REPEAT to wrap around the other blocks. To drag a stack, pick it up from the top block.
  • 20. Green Flag Whenever you click the green flag, your script will start. To stop, click the stop button.
  • 23. Where to find Scratch • Online Verison - http://scratch.mit.edu • Offline Version - https://scratch.mit.edu/download • Requirements- Adobe AIR - https://get.adobe.com/air/ • Support Materials - https://scratch.mit.edu/scratchr2/static/sa/Scratch2StarterProjects.zip https://cdn.scratch.mit.edu/scratchr2/static/__709da8e5f3d72129538a4 ccdbcbf5f2a__/pdfs/help/Getting-Started-Guide-Scratch2.pdf https://cdn.scratch.mit.edu/scratchr2/static/__709da8e5f3d72129538a4 ccdbcbf5f2a__/pdfs/help/Scratch2Cards.pdf
  • 24. Try Your First Project!

Editor's Notes

  • #3: Scratch does NOT require syntax In order to build your own program, all you have to do is move blocks around. Scratch can be used to create sophisticated programs It’s not just for kids! There are many building blocks to choose from to create complex programming. If you explore the tools in more detail, you will find that there are many other blocks available.  Scratch is extensible Many Scratch users may not realize they can add variables, list and even create their own blocks in the program! Users can even connect Scratch to hardware such as LEGO, Roboblock. This extensible is really makes the possibility endless.
  • #5: Scratch is a simple environment designed by the Kindergarden Lifelong Learning Group at MIT to introduce some basic programming concepts in a fun and interactive manner. In Scratch, sprites (objects) are manipulated on the stage (background) using various scripts (small program segments). Each sprite has its own set of scripts to control its behaviors and how it interacts with other sprites and events. Programming consists of snapping together individual blocks of preexisting actions to create a script. A program can be as simple as a single block or consist of multiple blocks stacked together that will run as a unit.