Class 5 Computer Worksheet: Block Coding
Remember (Times × amount): Event = when something happens; motion = move or turn; sound = play a sound; if = check a condition. A loop repeats the blocks inside it: total = times × amount. repeat N times [move, turn 360 ÷ N degrees] draws a shape with N sides.
NameDateTime takenScore ___ / 40
- 1.🧱 A sprite runs: repeat 8 times [ move 25 steps ]. How many steps does it move in all?
- 2.🔍 Which is the odd one out? (a) repeat until done (b) move 10 steps (c) repeat forever (d) repeat 4 times
- 3.Which of these is an event block? (a) when a key is pressed (b) repeat forever (c) set volume to 50% (d) glide to the edge
- 4.🧱 What kind of block is “when a key is pressed”? (a) a loop block (b) a sound block (c) an if block (d) an event block
- 5.🧱 A sprite draws a shape: repeat 12 times [ move 50 steps, turn 30 degrees ]. How many sides does the shape have?
- 6.🧱 In block coding, we join blocks like ___. (a) sand (b) jigsaw puzzle pieces (c) wet clay (d) ice cubes
- 7.🧱 What kind of block is “if score is 10”? (a) a motion block (b) a loop block (c) a sound block (d) an if block
- 8.Which of these is a loop block? (a) set volume to 50% (b) when the program starts (c) play a drum beat (d) repeat forever
- 9.🧱 A sprite runs: repeat 8 times [ move 20 steps ]. How many steps does it move in all?
- 10.🧱 A sprite draws a shape: repeat 4 times [ move 50 steps, turn 90 degrees ]. How many sides does the shape have?
- 11.🧱 What kind of block is “glide to the edge”? (a) a loop block (b) a motion block (c) a sound block (d) an if block
- 12.Which of these is an if block? (a) play a beep (b) when the program starts (c) repeat 4 times (d) if the key is down
- 13.Which of these is a motion block? (a) repeat 4 times (b) when a key is pressed (c) when the program starts (d) move 10 steps
- 14.🔍 Which is the odd one out? (a) turn right 90 degrees (b) repeat 4 times (c) repeat forever (d) repeat until done
- 15.🧱 A sprite runs: repeat 8 times [ move 40 steps ]. How many steps does it move in all?
- 16.🧱 A sprite runs: repeat 6 times [ move 5 steps ]. How many steps does it move in all?
- 17.Which of these is an event block? (a) repeat forever (b) play a beep (c) set volume to 50% (d) when sprite is clicked
- 18.Which of these is a loop block? (a) glide to the edge (b) if touching the wall (c) play a drum beat (d) repeat 4 times
- 19.Which of these is an if block? (a) play a drum beat (b) repeat until done (c) repeat 4 times (d) if touching the wall
- 20.🧱 A sprite runs: repeat 4 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
- 21.🔍 Which is the odd one out? (a) when sprite is clicked (b) glide to the edge (c) when a key is pressed (d) when the program starts
- 22.🧱 What kind of block is “set volume to 50%”? (a) a sound block (b) an event block (c) an if block (d) a loop block
- 23.🧱 A sprite runs: repeat 2 times [ repeat 5 times [ play a drum beat ] ]. How many drum beats are played?
- 24.🔁 Which block repeats steps again and again? (a) a sound block (b) an event block (c) a loop block (d) a motion block
- 25.🧱 A sprite draws a shape: repeat 6 times [ move 50 steps, turn 60 degrees ]. How many sides does the shape have?
- 26.🔍 Which is the odd one out? (a) when the program starts (b) when a key is pressed (c) set volume to 50% (d) when sprite is clicked
- 27.🧱 A sprite runs: repeat 4 times [ repeat 3 times [ play a drum beat ] ]. How many drum beats are played?
- 28.🧱 What kind of block is “play a drum beat”? (a) a sound block (b) an if block (c) a loop block (d) an event block
- 29.🧱 What kind of block is “repeat 4 times”? (a) a sound block (b) an if block (c) a loop block (d) an event block
- 30.Which of these is a sound block? (a) repeat until done (b) set volume to 50% (c) when a key is pressed (d) when sprite is clicked
- 31.🔍 Which is the odd one out? (a) when a key is pressed (b) when the program starts (c) when sprite is clicked (d) if the key is down
- 32.🔍 Which is the odd one out? (a) play a beep (b) repeat 4 times (c) repeat forever (d) repeat until done
- 33.🧱 What kind of block is “when sprite is clicked”? (a) a loop block (b) an if block (c) an event block (d) a sound block
- 34.🔍 Which is the odd one out? (a) if touching the wall (b) play a drum beat (c) if the key is down (d) if score is 10
- 35.🔍 Which is the odd one out? (a) play a drum beat (b) play a beep (c) if touching the wall (d) set volume to 50%
- 36.🧱 What kind of block is “if touching the wall”? (a) a motion block (b) an if block (c) a sound block (d) an event block
- 37.🐱 What do we call a character that moves on the stage in block coding? (a) a pixel (b) a folder (c) a sprite (d) a cursor
- 38.🧱 A sprite runs: repeat 4 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 39.🧱 A sprite runs: repeat 7 times [ move 40 steps ]. How many steps does it move in all?
- 40.🧱 What kind of block is “if the key is down”? (a) an if block (b) an event block (c) a loop block (d) a sound block
Answer key
- 200
- move 10 steps
- when a key is pressed
- an event block
- 12
- jigsaw puzzle pieces
- an if block
- repeat forever
- 160
- 4
- a motion block
- if the key is down
- move 10 steps
- turn right 90 degrees
- 320
- 30
- when sprite is clicked
- repeat 4 times
- if touching the wall
- 20
- glide to the edge
- a sound block
- 10
- a loop block
- 6
- set volume to 50%
- 12
- a sound block
- a loop block
- set volume to 50%
- if the key is down
- play a beep
- an event block
- play a drum beat
- if touching the wall
- an if block
- a sprite
- 8
- 280
- an if block
Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets