SlideShare a Scribd company logo
1 of 25
Scratch
A visual
programming
environment
By :- Shahswat Singh
Scratch
Contents
🞇 Introduction
🞇 History
🞇 Objectives
🞇 Explanation
🞇 Bibliography
Scratch
What is Scratch ?
🞇 Scratch is a visual programming environment that
makes it easy to create interactive stories, music,
games, art, and animations – and share those creations
on the web.
🞇 Scratch presents powerful opportunities for learning –
as people program and share with Scratch, they learn to
think creatively, plan systematically, and work
collaboratively, while also learning important
computational ideas.
Scratch
HISTORY
🞇 The first version of Scratch was developed in 2003 by
the Lifelong Kindergarten group, led by Mitchel
Resnick, at the MIT Media Lab.
🞇 The first official website was originally launched in
2006. Scratch 1.0 was then later available to the public
for download on January 8, 2007.
🞇 Scratch continued to update their site until late 2012
when they released Scratch 2.0 which offered many
updates to the programming system and website design.
Scratch
Objectives of Scratch unit
🞇 Intro to the visual programming environment
🞇 Intro to programming with multimedia
🞇 Story-telling | music-making | game-making
🞇 Intro to programming concepts
objects and attributes
sequence, repetition
conditions, events, I/O
Scratch
Secondary objectives
🞇 Increase student skills with computers
🞇 Increase student interest in programming
🞇 Student achievement on fun project
🞇 Learn Cartesian coordinates, distance computations,
etc.
Scratch
Start scratch and let’s go!
🞇 Open www.scratch.mit.edu and go to option “create”.
🞇 When home, download from www.scratch.mit.edu
🞇 Click on the cat icon
🞇 Or, find “scratch” under “Programs”
🞇 Scratch programming environment comes up quickly
Scratch
Major components
🞇 At left: the stage with sprite[s] or objects or actors
🞇 Center: operations and attributes for the sprites
🞇 At right: scripts or program[s] for the behavior[s] of the
sprites
🞇 A sprite is a small graphic that can be moved
independently around the screen, producing animated
effects .
🞇 Blocks are puzzle-piece shapes that are used to create
code in Scratch .
Scratch
Programming In Scratch!
🞇 In the upper, center corner of your Scratch window, you
will see 10 buttons .
🞇 Each of these buttons have programming blocks in
those particular areas.
🞇 We will first experiment with the Motion blocks.
Scratch
Motion!
🞇 Motion blocks are the blocks that control
a sprite's movement.
🞇 There are 17 Motion blocks in Scratch 2.0 .
🞇 Ex:-
 Move () Steps — Moves the sprite forward the amount
of steps.
 Go to X: () Y: () — Moves the sprite to the specified X
and Y position.
Scratch
🞇 Change the “10” to “50” by clicking in the block and
typing in 50.
🞇 To see your sprite move 50 pixels to the right, double
click on the block in the Script area. Cool, isn’t it?!
Motion!
🞇 Drag out the “move 10 steps” block.
Scratch
high.
The Scratch Stage
🞇 The Scratch stage is 480 pixels wide and 360 pixels
-240 240
180
-180
Scratch
Looks!
🞇 Looks blocks are the blocks that control a sprite's look.
🞇 There are 23 Looks blocks in Scratch 2.0.
🞇 Ex:-
 Say () —Aspeech bubble appears over the sprite and
will not go away over time.
 Show — Shows the sprite.
Scratch
Sound!
🞇 Sound blocks are the blocks that control sound and
MIDI functions.
🞇 There are 13 Sound blocks in Scratch 2.0.
🞇 Ex:-
 Play Sound () — Plays a sound without pausing the
script
 StopAll Sounds — Stops all playing sounds.
Scratch
Pen!
🞇 Pen blocks are the blocks that control the pen.
🞇 There are 11 Pen blocks in Scratch 2.0.
🞇 Ex:-
 Clear — Removes all pen marks put on the screen.
 Pen Up — Puts the sprite's pen up.
Scratch
Data!
🞇 Variables blocks are the blocks that hold values
and strings.
🞇 There are 5 Variables blocks in Scratch 2.0.
🞇 Ex:-
 Set () to () — Sets the specified variable to the amount.
 Show Variable () — Shows the variable's Stage
Monitor.
Scratch
Data!
🞇 List blocks are the blocks that manage lists. They are
stored in the Data category.
🞇 There are 10 List blocks in Scratch 2.0.
🞇 Ex:-
 Add () to () —Adds an item to the list.
 Delete () of () — Deletes the item of the list.
Scratch
Event!
🞇 Event blocks are blocks that control events and the
triggering of scripts.
🞇 There are 8 Event blocks in Scratch 2.0.
🞇 Ex:-
 When Green Flag Clicked — When the flag is clicked,
the script activates.
 When () Key Pressed — When the specified key is
pressed, the script activates.
Scratch
🞇 Control blocks are the blocks that control
scripts.
🞇There are 11 Control blocks in Scratch 2.0.
🞇Ex:-
 Wait () Secs — Pauses the script for the amount
of time.
 Forever —Aloop that will never end.
Control!
Scratch
🞇Sensing blocks are the blocks that detect things.
🞇There are 20 Sensing blocks in Scratch 2.0.
🞇 Ex:-
 Touching ()? — The condition for checking if the
sprite is touching the mouse-pointer or another
sprite.
 Key () Pressed? — The condition for checking if
the specified key is being pressed.
Sensing!
Scratch
Operators!
🞇 Operators blocks are the blocks that perform math
functions and string handling.
🞇 There are 17 Operators blocks in Scratch 2.0.
🞇 Ex:-
 () < () — The condition for checking if a value is less
than the other.
 () + () — The value of the addition.
Scratch
More!
🞇 More blocks are user-made custom blocks.
🞇 There are 2 unique kinds of More blocks in Scratch 2.0.
🞇 Ex:-
 Define () — Defines a custom block.
 () —Acustom block.
Scratch
Let’s make a small program that on hover on
sprite say
“hello world”
Scratch
Bibliography
🞇 Books :-
 Malan, David. "Scratch for Budding Computer Scientists".
Harvard School of Engineering and Applied Sciences.
Retrieved 25 January 2014.
 Harvey, Brian. "Brian Harvey user contributions page". Scratch.
, July 2008.
🞇 Research papers :-
 “Learning Computing through Creating and Connecting”,
Brennan,K. ; Harvard Univ., Cambridge, MA, USA, 16 July
2013
 "Scratch for budding computer scientists". ACM SIGCSE
Bulletin 39 (1): 223–7. March 2007.
Scratch

More Related Content

Similar to scratch-141107045720-conversion-gate02.pptx

Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
Botol Budu
 
ontents · Introduction· Objectives·.docx
ontents  ·      Introduction·      Objectives·.docxontents  ·      Introduction·      Objectives·.docx
ontents · Introduction· Objectives·.docx
cherishwinsland
 
Learn scratch-programming-e book
Learn scratch-programming-e bookLearn scratch-programming-e book
Learn scratch-programming-e book
technicalteam
 
Design &amp; technology assess 2 pp
Design &amp; technology assess 2 ppDesign &amp; technology assess 2 pp
Design &amp; technology assess 2 pp
Kathy Kypr
 

Similar to scratch-141107045720-conversion-gate02.pptx (20)

Understanding Scratch Extensions with JavaScript (Part 2 of 2)
Understanding Scratch Extensions with JavaScript (Part 2 of 2)Understanding Scratch Extensions with JavaScript (Part 2 of 2)
Understanding Scratch Extensions with JavaScript (Part 2 of 2)
 
Understanding ScratchX Extensions with JavaScript
Understanding ScratchX Extensions with JavaScriptUnderstanding ScratchX Extensions with JavaScript
Understanding ScratchX Extensions with JavaScript
 
Scratch2
Scratch2Scratch2
Scratch2
 
IsoUnity: A retro-isometric toolkit for Unity
IsoUnity: A retro-isometric toolkit for UnityIsoUnity: A retro-isometric toolkit for Unity
IsoUnity: A retro-isometric toolkit for Unity
 
Data analysis in R
Data analysis in RData analysis in R
Data analysis in R
 
Scratch2
Scratch2Scratch2
Scratch2
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2
 
Guide scratch2
Guide scratch2Guide scratch2
Guide scratch2
 
My summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersMy summary for cs001x computer science for beginners
My summary for cs001x computer science for beginners
 
Scratch referenceguide14
Scratch referenceguide14Scratch referenceguide14
Scratch referenceguide14
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and Graphing
 
ontents · Introduction· Objectives·.docx
ontents  ·      Introduction·      Objectives·.docxontents  ·      Introduction·      Objectives·.docx
ontents · Introduction· Objectives·.docx
 
Getting started--Scratch Programming
Getting started--Scratch ProgrammingGetting started--Scratch Programming
Getting started--Scratch Programming
 
Learn scratch-programming-e book
Learn scratch-programming-e bookLearn scratch-programming-e book
Learn scratch-programming-e book
 
7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx7.Advanced Scripts in Scratch.pptx
7.Advanced Scripts in Scratch.pptx
 
Scratch for intermediates course
Scratch for intermediates courseScratch for intermediates course
Scratch for intermediates course
 
Design &amp; technology assess 2 pp
Design &amp; technology assess 2 ppDesign &amp; technology assess 2 pp
Design &amp; technology assess 2 pp
 
Controlling Project Size for Student/Hobby Videogame Development
Controlling Project Size for Student/Hobby Videogame DevelopmentControlling Project Size for Student/Hobby Videogame Development
Controlling Project Size for Student/Hobby Videogame Development
 
Cci 2018 creative coding tami belhadj
Cci 2018 creative coding tami belhadjCci 2018 creative coding tami belhadj
Cci 2018 creative coding tami belhadj
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

scratch-141107045720-conversion-gate02.pptx

  • 2. Scratch Contents 🞇 Introduction 🞇 History 🞇 Objectives 🞇 Explanation 🞇 Bibliography
  • 3. Scratch What is Scratch ? 🞇 Scratch is a visual programming environment that makes it easy to create interactive stories, music, games, art, and animations – and share those creations on the web. 🞇 Scratch presents powerful opportunities for learning – as people program and share with Scratch, they learn to think creatively, plan systematically, and work collaboratively, while also learning important computational ideas.
  • 4. Scratch HISTORY 🞇 The first version of Scratch was developed in 2003 by the Lifelong Kindergarten group, led by Mitchel Resnick, at the MIT Media Lab. 🞇 The first official website was originally launched in 2006. Scratch 1.0 was then later available to the public for download on January 8, 2007. 🞇 Scratch continued to update their site until late 2012 when they released Scratch 2.0 which offered many updates to the programming system and website design.
  • 5. Scratch Objectives of Scratch unit 🞇 Intro to the visual programming environment 🞇 Intro to programming with multimedia 🞇 Story-telling | music-making | game-making 🞇 Intro to programming concepts objects and attributes sequence, repetition conditions, events, I/O
  • 6. Scratch Secondary objectives 🞇 Increase student skills with computers 🞇 Increase student interest in programming 🞇 Student achievement on fun project 🞇 Learn Cartesian coordinates, distance computations, etc.
  • 7. Scratch Start scratch and let’s go! 🞇 Open www.scratch.mit.edu and go to option “create”. 🞇 When home, download from www.scratch.mit.edu 🞇 Click on the cat icon 🞇 Or, find “scratch” under “Programs” 🞇 Scratch programming environment comes up quickly
  • 8. Scratch Major components 🞇 At left: the stage with sprite[s] or objects or actors 🞇 Center: operations and attributes for the sprites 🞇 At right: scripts or program[s] for the behavior[s] of the sprites 🞇 A sprite is a small graphic that can be moved independently around the screen, producing animated effects . 🞇 Blocks are puzzle-piece shapes that are used to create code in Scratch .
  • 9. Scratch Programming In Scratch! 🞇 In the upper, center corner of your Scratch window, you will see 10 buttons . 🞇 Each of these buttons have programming blocks in those particular areas. 🞇 We will first experiment with the Motion blocks.
  • 10. Scratch Motion! 🞇 Motion blocks are the blocks that control a sprite's movement. 🞇 There are 17 Motion blocks in Scratch 2.0 . 🞇 Ex:-  Move () Steps — Moves the sprite forward the amount of steps.  Go to X: () Y: () — Moves the sprite to the specified X and Y position.
  • 11. Scratch 🞇 Change the “10” to “50” by clicking in the block and typing in 50. 🞇 To see your sprite move 50 pixels to the right, double click on the block in the Script area. Cool, isn’t it?! Motion! 🞇 Drag out the “move 10 steps” block.
  • 12. Scratch high. The Scratch Stage 🞇 The Scratch stage is 480 pixels wide and 360 pixels -240 240 180 -180
  • 13. Scratch Looks! 🞇 Looks blocks are the blocks that control a sprite's look. 🞇 There are 23 Looks blocks in Scratch 2.0. 🞇 Ex:-  Say () —Aspeech bubble appears over the sprite and will not go away over time.  Show — Shows the sprite.
  • 14. Scratch Sound! 🞇 Sound blocks are the blocks that control sound and MIDI functions. 🞇 There are 13 Sound blocks in Scratch 2.0. 🞇 Ex:-  Play Sound () — Plays a sound without pausing the script  StopAll Sounds — Stops all playing sounds.
  • 15. Scratch Pen! 🞇 Pen blocks are the blocks that control the pen. 🞇 There are 11 Pen blocks in Scratch 2.0. 🞇 Ex:-  Clear — Removes all pen marks put on the screen.  Pen Up — Puts the sprite's pen up.
  • 16. Scratch Data! 🞇 Variables blocks are the blocks that hold values and strings. 🞇 There are 5 Variables blocks in Scratch 2.0. 🞇 Ex:-  Set () to () — Sets the specified variable to the amount.  Show Variable () — Shows the variable's Stage Monitor.
  • 17. Scratch Data! 🞇 List blocks are the blocks that manage lists. They are stored in the Data category. 🞇 There are 10 List blocks in Scratch 2.0. 🞇 Ex:-  Add () to () —Adds an item to the list.  Delete () of () — Deletes the item of the list.
  • 18. Scratch Event! 🞇 Event blocks are blocks that control events and the triggering of scripts. 🞇 There are 8 Event blocks in Scratch 2.0. 🞇 Ex:-  When Green Flag Clicked — When the flag is clicked, the script activates.  When () Key Pressed — When the specified key is pressed, the script activates.
  • 19. Scratch 🞇 Control blocks are the blocks that control scripts. 🞇There are 11 Control blocks in Scratch 2.0. 🞇Ex:-  Wait () Secs — Pauses the script for the amount of time.  Forever —Aloop that will never end. Control!
  • 20. Scratch 🞇Sensing blocks are the blocks that detect things. 🞇There are 20 Sensing blocks in Scratch 2.0. 🞇 Ex:-  Touching ()? — The condition for checking if the sprite is touching the mouse-pointer or another sprite.  Key () Pressed? — The condition for checking if the specified key is being pressed. Sensing!
  • 21. Scratch Operators! 🞇 Operators blocks are the blocks that perform math functions and string handling. 🞇 There are 17 Operators blocks in Scratch 2.0. 🞇 Ex:-  () < () — The condition for checking if a value is less than the other.  () + () — The value of the addition.
  • 22. Scratch More! 🞇 More blocks are user-made custom blocks. 🞇 There are 2 unique kinds of More blocks in Scratch 2.0. 🞇 Ex:-  Define () — Defines a custom block.  () —Acustom block.
  • 23. Scratch Let’s make a small program that on hover on sprite say “hello world”
  • 24. Scratch Bibliography 🞇 Books :-  Malan, David. "Scratch for Budding Computer Scientists". Harvard School of Engineering and Applied Sciences. Retrieved 25 January 2014.  Harvey, Brian. "Brian Harvey user contributions page". Scratch. , July 2008. 🞇 Research papers :-  “Learning Computing through Creating and Connecting”, Brennan,K. ; Harvard Univ., Cambridge, MA, USA, 16 July 2013  "Scratch for budding computer scientists". ACM SIGCSE Bulletin 39 (1): 223–7. March 2007.