Scratch Programming – The 3S of Scratch Basic 6 Basic Technology Lesson Note
Download Lesson Note
Lesson Notes
Topic: Scratch Programming – The 3S of Scratch
Learning Objectives
By the end of the lesson, pupils should be able to:
- Identify the component parts of the scratch interface
- Differentiate between the 3S of Scratch
Content
What is Scratch? Scratch is a visual programming language designed for children and beginners. It uses blocks that snap together like puzzle pieces to create programs, games, and animations.
Opening Scratch
- Online: Go to scratch.mit.edu
- Offline: Install Scratch desktop application
Parts of the Scratch Interface
- Stage (Top Right)
- Where your projects come to life
- Shows sprites performing actions
- Default size: 480 × 360 pixels
- Has x and y coordinates
- Sprite Area (Bottom Right)
- Shows all sprites in your project
- Default sprite is Scratch Cat
- Can add, delete, or modify sprites
- Backdrop Area
- Next to sprite area
- Shows background of stage
- Can change or create backdrops
- Block Palette (Left Side)
- Contains all coding blocks
- Organized by categories with colors
- Drag blocks to Scripts Area
- Scripts Area (Middle)
- Where you build your code
- Drag and connect blocks here
- Shows your program
- Code/Costumes/Sounds Tabs (Top Middle)
- Code: Write programs
- Costumes: Change sprite appearance
- Sounds: Add sounds to sprites
The 3S of Scratch
The 3S refers to the three main elements you work with in Scratch:
- SPRITES
- Definition: Characters or objects in your project
- Examples: Animals, people, objects, shapes
- Features:
- Can move around the stage
- Can change appearance (costumes)
- Can interact with other sprites
- Have properties (position, size, direction)
- Creating Sprites:
- Choose from library
- Paint your own
- Upload from computer
- Take photo with camera
- Sprite Properties:
- Position (x, y coordinates)
- Direction (which way it faces)
- Size (can make bigger or smaller)
- Visibility (show or hide)
- SCRIPTS
- Definition: Programs made by connecting code blocks
- Purpose: Tell sprites what to do
- Features:
- Made by stacking blocks vertically
- Blocks snap together like Lego
- Different colors for different functions
- Run from top to bottom
- Block Categories:
- Motion (blue): Move, turn, position
- Looks (purple): Appearance, speech
- Sound (pink): Play sounds, music
- Events (yellow): Start programs
- Control (orange): Loops, conditions
- Sensing (light blue): Detect things
- Operators (green): Math, logic
- Variables (orange): Store data
Example Simple Script:
When green flag clicked
Move 10 steps
Say “Hello!” for 2 seconds
- STAGE
- Definition: The background/scene where sprites perform
- Size: 480 pixels wide × 360 pixels tall
- Features:
- Has coordinate system (x: -240 to 240, y: -180 to 180)
- Center is (0, 0)
- Can have different backdrops
- Can have its own scripts
- Stage Coordinates:
- Center: (0, 0)
- Top: y = 180
- Bottom: y = -180
- Right: x = 240
- Left: x = -240
- Backdrops:
- Can change for different scenes
- Can be animated
- Created or chosen from library
How the 3S Work Together
- Sprites are the actors
- Scripts are the instructions
- Stage is where everything happens
Example: A sprite (cat) follows a script (move and meow) on the stage (with a garden backdrop).
Scratch Project Workflow
- Choose or create sprites
- Select or create backdrop
- Write scripts for sprites
- Test your project (click green flag)
- Debug (fix problems)
- Share or save
Activities
- Explore Scratch interface online
- Identify all parts of the interface
- Add and delete sprites
- Change backdrops
- Create a simple script to make sprite move
- Experiment with different blocks