SlideShare a Scribd company logo
1 of 18
Scratch Programming
This Photo by Unknown Author is licensed under CC BY-SA-NC
LEARNING OBJECTIVES
At the end of this topic Students will be comfortable in using
 Sensing blocks
 Using Mathematical Operators
 Comparing values
 Generating random Numbers
 Changing Location Randomly
 Bouncing the Ball Up and Down
 Making a Variable
 Making Decision
 Applying Condition
INTRODUCTION
Scratch is a visual programming environment that makes it easy
to create interactive stories, games, art and animations.
For coding in Scratch you won’t need to write lines of code
because they’ll be provided in blocks.
BASIC CODE BLOCKS OF SCRATCH
▶ Motion : These blocks control the motion of a sprite.
▶ Looks : these blocks help user to change the
appearance of the sprite.
▶ Sound: these blocks help add sounds to our project
and control them.
▶ Events: These blocks help to trigger actionin in any
project.
CONTI..
▶ Controls: These blocks help to have control over the
code such as conditions and loops.
▶ Sensing: These blocks help our code be alive. It helps
the sprite detect things and sense them
▶ Operators: These blocks help in all mathematical
operations such as addition, subtraction,
multiplication etc. and OR , AND .
▶ Variables: These blocks help in the list and variable
operations.
OPERATORS IN SCRATCH
▶ Operators Block is fun and
interesting.
▶ This block helps in scripting
mathematical equations.
BASIC ARITHMETICAL OPERATORS
COMPARISON OPERATOR
VARIABLES
▶ Variable is a named
data storage location
which stores a value
and this value can be
changed during the
execution of the
program.
TYPES OF VARIABLES
https://edu.google.com/
https://www.youtube.com/watch?v=jdxomoHx3co
• Numeric
• String
• Boolean
SENSING BLOCKS
Watch this video
https://www.youtube.com/watch?v=YMrM00VDw4I
GETTING INPUT FROM THE USER
https://www.youtube.com/watch?v=1PswttcxCko
▶ Click on Sensing set
and get the Ask and
wait command.
▶ Also click on the
answer check box to
make it show on the
display window.
▶ The answer box is the
storage in memory,
that is variable.
SENSING COMMAND AND INPUT
https://www.youtube.com/watch?v=1Pswt
tcxCko
MOVING THE SPRITE ON A
RANDOM POSITION
▶ When you place these
blocks in your code. It will
move the sprite on a
random position.
BOUNCING BALL GAME
▶ Delete the default sprite
and select the ball in
sprites.
▶ Add the shown blocks in
your code.
Watch the video to make another ball game:
https://www.youtube.com/watch?v=BlmBDrnhd2I
MAKING DECISIONS IN
SCRATCH
▶ To make decisions we use if-then
and If-then-else blocks from control
sections.
▶ In if block we add condition and
the correct answer is added inside
the if block if the condition is true.
▶ For Example:
HANDS ON PRACTICE
1. Make the cat sprite fly towards your
mouse pointer.
2. Create Guess the number game. In this
game the player has to guess the
number which computer picks.
QUIZ
https://forms.gle/Ckc2S9U83AFnwT6V8

More Related Content

Similar to Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx

Fundamental Design Patterns.pptx
Fundamental Design Patterns.pptxFundamental Design Patterns.pptx
Fundamental Design Patterns.pptxJUNSHIN8
 
Y1 ig gd engine terminology work
Y1 ig gd engine terminology work Y1 ig gd engine terminology work
Y1 ig gd engine terminology work Jellybabygod
 
MIT6_0001F16_Lec1.pdf
MIT6_0001F16_Lec1.pdfMIT6_0001F16_Lec1.pdf
MIT6_0001F16_Lec1.pdfssuser125b6b
 
Mini project in java swing
Mini project in java swingMini project in java swing
Mini project in java swingvarun arora
 
2019 session 6 develop programs to solve a variety of problems in math , phys...
2019 session 6 develop programs to solve a variety of problems in math , phys...2019 session 6 develop programs to solve a variety of problems in math , phys...
2019 session 6 develop programs to solve a variety of problems in math , phys...Osama Ghandour Geris
 
Instructor Development Workshop for the National Association of REALTORS Conv...
Instructor Development Workshop for the National Association of REALTORS Conv...Instructor Development Workshop for the National Association of REALTORS Conv...
Instructor Development Workshop for the National Association of REALTORS Conv...Doug Devitre
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminologyrosstapher
 
Start developing projects with Scratch Programming
Start developing projects with Scratch ProgrammingStart developing projects with Scratch Programming
Start developing projects with Scratch ProgrammingPrakritiDhang
 
Anthony Bowes task 1 IG unit 70
Anthony Bowes task 1 IG unit 70Anthony Bowes task 1 IG unit 70
Anthony Bowes task 1 IG unit 70bowes96123
 
No Programmer Is an Island
No Programmer Is an IslandNo Programmer Is an Island
No Programmer Is an IslandJimmy Sieben
 
Presentation on design pattern software project lll
 Presentation on design pattern  software project lll  Presentation on design pattern  software project lll
Presentation on design pattern software project lll Uchiha Shahin
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminologyClintParis
 
Game Engine terminology
Game Engine terminologyGame Engine terminology
Game Engine terminologySamDuxburyGDS
 
Snake game implementation in c
Snake game implementation in cSnake game implementation in c
Snake game implementation in cUpendra Sengar
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminologyClintParis
 
ma project
ma projectma project
ma projectAisu
 

Similar to Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx (20)

Fundamental Design Patterns.pptx
Fundamental Design Patterns.pptxFundamental Design Patterns.pptx
Fundamental Design Patterns.pptx
 
Y1 ig gd engine terminology work
Y1 ig gd engine terminology work Y1 ig gd engine terminology work
Y1 ig gd engine terminology work
 
scratch.pptx
scratch.pptxscratch.pptx
scratch.pptx
 
MIT6_0001F16_Lec1.pdf
MIT6_0001F16_Lec1.pdfMIT6_0001F16_Lec1.pdf
MIT6_0001F16_Lec1.pdf
 
Mini project in java swing
Mini project in java swingMini project in java swing
Mini project in java swing
 
Day 1( magic camp)(1)
Day 1( magic camp)(1)Day 1( magic camp)(1)
Day 1( magic camp)(1)
 
2019 session 6 develop programs to solve a variety of problems in math , phys...
2019 session 6 develop programs to solve a variety of problems in math , phys...2019 session 6 develop programs to solve a variety of problems in math , phys...
2019 session 6 develop programs to solve a variety of problems in math , phys...
 
Instructor Development Workshop for the National Association of REALTORS Conv...
Instructor Development Workshop for the National Association of REALTORS Conv...Instructor Development Workshop for the National Association of REALTORS Conv...
Instructor Development Workshop for the National Association of REALTORS Conv...
 
scratch-3-tutorial.pdf
scratch-3-tutorial.pdfscratch-3-tutorial.pdf
scratch-3-tutorial.pdf
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Start developing projects with Scratch Programming
Start developing projects with Scratch ProgrammingStart developing projects with Scratch Programming
Start developing projects with Scratch Programming
 
Anthony Bowes task 1 IG unit 70
Anthony Bowes task 1 IG unit 70Anthony Bowes task 1 IG unit 70
Anthony Bowes task 1 IG unit 70
 
No Programmer Is an Island
No Programmer Is an IslandNo Programmer Is an Island
No Programmer Is an Island
 
Presentation on design pattern software project lll
 Presentation on design pattern  software project lll  Presentation on design pattern  software project lll
Presentation on design pattern software project lll
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Engineterminoligy finished
Engineterminoligy finishedEngineterminoligy finished
Engineterminoligy finished
 
Game Engine terminology
Game Engine terminologyGame Engine terminology
Game Engine terminology
 
Snake game implementation in c
Snake game implementation in cSnake game implementation in c
Snake game implementation in c
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
ma project
ma projectma project
ma project
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 

Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx

  • 1. Scratch Programming This Photo by Unknown Author is licensed under CC BY-SA-NC
  • 2. LEARNING OBJECTIVES At the end of this topic Students will be comfortable in using  Sensing blocks  Using Mathematical Operators  Comparing values  Generating random Numbers  Changing Location Randomly  Bouncing the Ball Up and Down  Making a Variable  Making Decision  Applying Condition
  • 3. INTRODUCTION Scratch is a visual programming environment that makes it easy to create interactive stories, games, art and animations. For coding in Scratch you won’t need to write lines of code because they’ll be provided in blocks.
  • 4. BASIC CODE BLOCKS OF SCRATCH ▶ Motion : These blocks control the motion of a sprite. ▶ Looks : these blocks help user to change the appearance of the sprite. ▶ Sound: these blocks help add sounds to our project and control them. ▶ Events: These blocks help to trigger actionin in any project.
  • 5. CONTI.. ▶ Controls: These blocks help to have control over the code such as conditions and loops. ▶ Sensing: These blocks help our code be alive. It helps the sprite detect things and sense them ▶ Operators: These blocks help in all mathematical operations such as addition, subtraction, multiplication etc. and OR , AND . ▶ Variables: These blocks help in the list and variable operations.
  • 6. OPERATORS IN SCRATCH ▶ Operators Block is fun and interesting. ▶ This block helps in scripting mathematical equations.
  • 9. VARIABLES ▶ Variable is a named data storage location which stores a value and this value can be changed during the execution of the program.
  • 11. SENSING BLOCKS Watch this video https://www.youtube.com/watch?v=YMrM00VDw4I
  • 12. GETTING INPUT FROM THE USER https://www.youtube.com/watch?v=1PswttcxCko
  • 13. ▶ Click on Sensing set and get the Ask and wait command. ▶ Also click on the answer check box to make it show on the display window. ▶ The answer box is the storage in memory, that is variable. SENSING COMMAND AND INPUT https://www.youtube.com/watch?v=1Pswt tcxCko
  • 14. MOVING THE SPRITE ON A RANDOM POSITION ▶ When you place these blocks in your code. It will move the sprite on a random position.
  • 15. BOUNCING BALL GAME ▶ Delete the default sprite and select the ball in sprites. ▶ Add the shown blocks in your code. Watch the video to make another ball game: https://www.youtube.com/watch?v=BlmBDrnhd2I
  • 16. MAKING DECISIONS IN SCRATCH ▶ To make decisions we use if-then and If-then-else blocks from control sections. ▶ In if block we add condition and the correct answer is added inside the if block if the condition is true. ▶ For Example:
  • 17. HANDS ON PRACTICE 1. Make the cat sprite fly towards your mouse pointer. 2. Create Guess the number game. In this game the player has to guess the number which computer picks.