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/BzZkZFNZyfz87vZL9

More Related Content

What's hot

What's hot (14)

Scratch: Programming for everyone
Scratch: Programming for everyoneScratch: Programming for everyone
Scratch: Programming for everyone
 
Coding Basics with Scratch
Coding Basics with ScratchCoding Basics with Scratch
Coding Basics with Scratch
 
Intro To Scratch
Intro To ScratchIntro To Scratch
Intro To Scratch
 
Scratch
ScratchScratch
Scratch
 
scratch.pptx
scratch.pptxscratch.pptx
scratch.pptx
 
Ms Paint Tutorial
Ms Paint TutorialMs Paint Tutorial
Ms Paint Tutorial
 
An introduction to Scratch
An introduction to ScratchAn introduction to Scratch
An introduction to Scratch
 
Quiz ms word
Quiz ms wordQuiz ms word
Quiz ms word
 
Scratch Basics
Scratch BasicsScratch Basics
Scratch Basics
 
【ご紹介資料】Forcas salesとは?
【ご紹介資料】Forcas salesとは?【ご紹介資料】Forcas salesとは?
【ご紹介資料】Forcas salesとは?
 
Scratch programming introduction to game creation
Scratch programming  introduction to game creationScratch programming  introduction to game creation
Scratch programming introduction to game creation
 
Google forms for data analysis
Google forms for data analysisGoogle forms for data analysis
Google forms for data analysis
 
簡報和報告的錯誤示範
簡報和報告的錯誤示範簡報和報告的錯誤示範
簡報和報告的錯誤示範
 
Create a Brochure with Publisher 2010
Create a Brochure with Publisher 2010Create a Brochure with Publisher 2010
Create a Brochure with Publisher 2010
 

Similar to Grade-5 Topic-5 Fun with Scratch_Master.pptx

Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
nnak786
 
Lewis brady engine terminology (edited version)
Lewis brady engine terminology (edited version)Lewis brady engine terminology (edited version)
Lewis brady engine terminology (edited version)
LewisB2013
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
Shaz Riches
 
Lewis brady engine_terminology (edited version)
Lewis brady engine_terminology (edited version)Lewis brady engine_terminology (edited version)
Lewis brady engine_terminology (edited version)
LewisB2013
 
Engine Terminology
Engine TerminologyEngine Terminology
Engine Terminology
kamkill
 

Similar to Grade-5 Topic-5 Fun with Scratch_Master.pptx (20)

Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptxGrade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
Grade-5_Topic-5_Fun_With_Scratch(2024-25).pptx
 
Class #1: Blocks and Vocabulary
Class #1: Blocks and VocabularyClass #1: Blocks and Vocabulary
Class #1: Blocks and Vocabulary
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Engine Terminology
Engine Terminology Engine Terminology
Engine Terminology
 
Engineterminoligy finished
Engineterminoligy finishedEngineterminoligy finished
Engineterminoligy finished
 
Engine Terminology
Engine TerminologyEngine Terminology
Engine Terminology
 
Lewis brady engine terminology (edited version)
Lewis brady engine terminology (edited version)Lewis brady engine terminology (edited version)
Lewis brady engine terminology (edited version)
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Hacking the Kinect with GAFFTA Day 1
Hacking the Kinect with GAFFTA Day 1Hacking the Kinect with GAFFTA Day 1
Hacking the Kinect with GAFFTA Day 1
 
No Programmer Is an Island
No Programmer Is an IslandNo Programmer Is an Island
No Programmer Is an Island
 
Lewis brady engine_terminology (edited version)
Lewis brady engine_terminology (edited version)Lewis brady engine_terminology (edited version)
Lewis brady engine_terminology (edited version)
 
Start developing projects with Scratch Programming
Start developing projects with Scratch ProgrammingStart developing projects with Scratch Programming
Start developing projects with Scratch Programming
 
PRELIM-Lesson-2.pdf
PRELIM-Lesson-2.pdfPRELIM-Lesson-2.pdf
PRELIM-Lesson-2.pdf
 
Mini Scratch Unit
Mini Scratch UnitMini Scratch Unit
Mini Scratch Unit
 
Engine Terminology
Engine TerminologyEngine Terminology
Engine Terminology
 
Year 5-6: Ideas for teaching coding
Year 5-6: Ideas for teaching codingYear 5-6: Ideas for teaching coding
Year 5-6: Ideas for teaching coding
 
Storyboarding - Information Systems Engineering
Storyboarding - Information Systems EngineeringStoryboarding - Information Systems Engineering
Storyboarding - Information Systems Engineering
 
System verilog important
System verilog importantSystem verilog important
System verilog important
 

Recently uploaded

Recently uploaded (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

Grade-5 Topic-5 Fun with Scratch_Master.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.