SlideShare uma empresa Scribd logo
1 de 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 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 
Motion! 
 Drag out the “move 10 steps” block. 
 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?!
Scratch 
The Scratch Stage 
 The Scratch stage is 480 pixels wide and 360 pixels 
high. 
180 
-240 240 
-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 () — A speech 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 
 Stop All 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! 
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 — A loop that will never end.
Scratch 
Sensing! 
 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.
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. 
 () — A custom 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

Mais conteúdo relacionado

Mais procurados

Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingSeniorInfants
 
Scratch programming
Scratch programmingScratch programming
Scratch programmingYvonieDoria
 
Scratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingScratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingGigi Gilbert-Igelsrud
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to ScratchPiers Midwinter
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and GraphingBrian Huang
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsSeniorInfants
 
Introduction to scratch programming
Introduction to scratch programmingIntroduction to scratch programming
Introduction to scratch programmingPatrick John McGee
 
Tinkercad lesson 1
Tinkercad lesson 1Tinkercad lesson 1
Tinkercad lesson 1Aaron Maurer
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorDavid Oromaner
 
Introduction to powerpoint
Introduction to powerpointIntroduction to powerpoint
Introduction to powerpointBESOR ACADEMY
 

Mais procurados (20)

Lesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer ProgrammingLesson 1: Scratch Computer Programming
Lesson 1: Scratch Computer Programming
 
Scratch Animation
Scratch AnimationScratch Animation
Scratch Animation
 
Scratch Lesson 1
Scratch Lesson 1Scratch Lesson 1
Scratch Lesson 1
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Scratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible ProgrammingScratch - Intuitive and Accessible Programming
Scratch - Intuitive and Accessible Programming
 
Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
 
Scratch Lesson 2
Scratch Lesson 2Scratch Lesson 2
Scratch Lesson 2
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Scratch for Data Logging and Graphing
Scratch for Data Logging and GraphingScratch for Data Logging and Graphing
Scratch for Data Logging and Graphing
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
 
Computer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessonsComputer Coding with Scratch: Lesson 2_primaryschoollessons
Computer Coding with Scratch: Lesson 2_primaryschoollessons
 
Introduction to scratch programming
Introduction to scratch programmingIntroduction to scratch programming
Introduction to scratch programming
 
Tinkercad lesson 1
Tinkercad lesson 1Tinkercad lesson 1
Tinkercad lesson 1
 
Introduction to qbasic
Introduction to qbasicIntroduction to qbasic
Introduction to qbasic
 
Introduction to BBC Micro:Bit
Introduction to BBC Micro:BitIntroduction to BBC Micro:Bit
Introduction to BBC Micro:Bit
 
Introduction to Coding
Introduction to CodingIntroduction to Coding
Introduction to Coding
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
 
Scratch Lesson 3
Scratch Lesson 3Scratch Lesson 3
Scratch Lesson 3
 
Introduction to powerpoint
Introduction to powerpointIntroduction to powerpoint
Introduction to powerpoint
 

Destaque

Scratch and pair programming
Scratch and pair programmingScratch and pair programming
Scratch and pair programmingjtelss10
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the ClassroomDarrel Branson
 
Creative Teaching with Scratch
Creative Teaching with ScratchCreative Teaching with Scratch
Creative Teaching with ScratchDouglas Kiang
 
An Intro to Scratch Programming for Parents
An Intro to Scratch Programming for ParentsAn Intro to Scratch Programming for Parents
An Intro to Scratch Programming for Parentsmewren
 
The angles family
The angles familyThe angles family
The angles familyfknights
 

Destaque (7)

Scratch and pair programming
Scratch and pair programmingScratch and pair programming
Scratch and pair programming
 
Scratch Lesson 6
Scratch Lesson 6Scratch Lesson 6
Scratch Lesson 6
 
Scratch Lesson 4
Scratch Lesson 4Scratch Lesson 4
Scratch Lesson 4
 
Scratch in the Classroom
Scratch in the ClassroomScratch in the Classroom
Scratch in the Classroom
 
Creative Teaching with Scratch
Creative Teaching with ScratchCreative Teaching with Scratch
Creative Teaching with Scratch
 
An Intro to Scratch Programming for Parents
An Intro to Scratch Programming for ParentsAn Intro to Scratch Programming for Parents
An Intro to Scratch Programming for Parents
 
The angles family
The angles familyThe angles family
The angles family
 

Semelhante a Scratch

scratch-141107045720-conversion-gate02.pptx
scratch-141107045720-conversion-gate02.pptxscratch-141107045720-conversion-gate02.pptx
scratch-141107045720-conversion-gate02.pptximau6
 
Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...
Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...
Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...LaurenMichelle11
 
Data analysis in R
Data analysis in RData analysis in R
Data analysis in RAndrew Lowe
 
Understanding ScratchX Extensions with JavaScript
Understanding ScratchX Extensions with JavaScriptUnderstanding ScratchX Extensions with JavaScript
Understanding ScratchX Extensions with JavaScriptDarren Adkinson
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2Botol Budu
 
Getting started-guide-scratch2
Getting started-guide-scratch2Getting started-guide-scratch2
Getting started-guide-scratch2Solange Zambrano
 
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 beginnersIbrahim Omar
 
Getting started--Scratch Programming
Getting started--Scratch ProgrammingGetting started--Scratch Programming
Getting started--Scratch ProgrammingManjula Fernando
 
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)Darren Adkinson
 
Learn scratch-programming-e book
Learn scratch-programming-e bookLearn scratch-programming-e book
Learn scratch-programming-e booktechnicalteam
 
Cci 2018 creative coding tami belhadj
Cci 2018 creative coding tami belhadjCci 2018 creative coding tami belhadj
Cci 2018 creative coding tami belhadjTami Belhadj
 
Scratch for kids syllabus for 5 hours by bibek pandit
Scratch for kids syllabus for 5 hours by bibek panditScratch for kids syllabus for 5 hours by bibek pandit
Scratch for kids syllabus for 5 hours by bibek panditBibekPandit2
 

Semelhante a Scratch (20)

scratch-141107045720-conversion-gate02.pptx
scratch-141107045720-conversion-gate02.pptxscratch-141107045720-conversion-gate02.pptx
scratch-141107045720-conversion-gate02.pptx
 
Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...
Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...
Blue Orange and Yellow Geometric Flat Shapes Scavenger Hunt Ice Breaker Class...
 
Data analysis in R
Data analysis in RData analysis in R
Data analysis in R
 
Understanding ScratchX Extensions with JavaScript
Understanding ScratchX Extensions with JavaScriptUnderstanding ScratchX Extensions with JavaScript
Understanding ScratchX Extensions with JavaScript
 
Scratch2
Scratch2Scratch2
Scratch2
 
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
 
Scratch
Scratch Scratch
Scratch
 
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
 
Getting started--Scratch Programming
Getting started--Scratch ProgrammingGetting started--Scratch Programming
Getting started--Scratch Programming
 
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)
 
Scratch an Editing App
 Scratch  an Editing App  Scratch  an Editing App
Scratch an Editing App
 
Scratch
ScratchScratch
Scratch
 
Learn scratch-programming-e book
Learn scratch-programming-e bookLearn scratch-programming-e book
Learn scratch-programming-e book
 
Scratch referenceguide14
Scratch referenceguide14Scratch referenceguide14
Scratch referenceguide14
 
Cci 2018 creative coding tami belhadj
Cci 2018 creative coding tami belhadjCci 2018 creative coding tami belhadj
Cci 2018 creative coding tami belhadj
 
Scratch for kids syllabus for 5 hours by bibek pandit
Scratch for kids syllabus for 5 hours by bibek panditScratch for kids syllabus for 5 hours by bibek pandit
Scratch for kids syllabus for 5 hours by bibek pandit
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Último (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Scratch

  • 1. Scratch A visual programming environment By :- Shahswat Singh
  • 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 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 Motion!  Drag out the “move 10 steps” block.  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?!
  • 12. Scratch The Scratch Stage  The Scratch stage is 480 pixels wide and 360 pixels high. 180 -240 240 -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 () — A speech 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  Stop All 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! 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 — A loop that will never end.
  • 20. Scratch Sensing!  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.
  • 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.  () — A custom 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.