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.Which of these is a loop block? (a) repeat 4 times (b) if the key is down (c) play a drum beat (d) move 10 steps
- 2.🔍 Which is the odd one out? (a) turn right 90 degrees (b) play a drum beat (c) glide to the edge (d) move 10 steps
- 3.🧱 What kind of block is “when the program starts”? (a) an event block (b) an if block (c) a sound block (d) a motion block
- 4.🧱 What kind of block is “when sprite is clicked”? (a) an if block (b) an event block (c) a motion block (d) a sound block
- 5.🧱 What kind of block is “set volume to 50%”? (a) an event block (b) a motion block (c) a sound block (d) an if block
- 6.🧱 In block coding, we join blocks like ___. (a) wet clay (b) sand (c) jigsaw puzzle pieces (d) ice cubes
- 7.🧱 A sprite runs: repeat 6 times [ move 25 steps ]. How many steps does it move in all?
- 8.🔍 Which is the odd one out? (a) play a beep (b) set volume to 50% (c) play a drum beat (d) glide to the edge
- 9.🧱 A sprite draws a shape: repeat 10 times [ move 50 steps, turn 36 degrees ]. How many sides does the shape have?
- 10.🧱 What kind of block is “if the key is down”? (a) an event block (b) a loop block (c) an if block (d) a motion block
- 11.Which of these is an event block? (a) when the program starts (b) if touching the wall (c) repeat forever (d) glide to the edge
- 12.🔁 Which block repeats steps again and again? (a) a motion block (b) a sound block (c) a loop block (d) an event block
- 13.Which of these is a sound block? (a) play a beep (b) if score is 10 (c) when the program starts (d) move 10 steps
- 14.Which of these is a motion block? (a) repeat 4 times (b) turn right 90 degrees (c) play a beep (d) if the key is down
- 15.🔍 Which is the odd one out? (a) when the program starts (b) when sprite is clicked (c) when a key is pressed (d) move 10 steps
- 16.🧱 What kind of block is “when a key is pressed”? (a) a loop block (b) a sound block (c) an event block (d) an if block
- 17.Which of these is a loop block? (a) repeat until done (b) when a key is pressed (c) set volume to 50% (d) when sprite is clicked
- 18.Which of these is an if block? (a) if touching the wall (b) glide to the edge (c) repeat until done (d) play a beep
- 19.🧱 A sprite runs: repeat 3 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 20.🔍 Which is the odd one out? (a) if score is 10 (b) if the key is down (c) when sprite is clicked (d) if touching the wall
- 21.🔍 Which is the odd one out? (a) play a beep (b) turn right 90 degrees (c) move 10 steps (d) glide to the edge
- 22.Which of these is a loop block? (a) if touching the wall (b) repeat forever (c) when sprite is clicked (d) play a beep
- 23.Which of these is a motion block? (a) move 10 steps (b) play a beep (c) set volume to 50% (d) if touching the wall
- 24.🧱 What kind of block is “if score is 10”? (a) a loop block (b) a motion block (c) an if block (d) an event block
- 25.🔍 Which is the odd one out? (a) if the key is down (b) if touching the wall (c) when a key is pressed (d) if score is 10
- 26.Which of these is an if block? (a) glide to the edge (b) repeat forever (c) if score is 10 (d) repeat 4 times
- 27.🔍 Which is the odd one out? (a) if the key is down (b) turn right 90 degrees (c) if score is 10 (d) if touching the wall
- 28.🧱 A sprite draws a shape: repeat 8 times [ move 50 steps, turn 45 degrees ]. How many sides does the shape have?
- 29.🔍 Which is the odd one out? (a) if score is 10 (b) if the key is down (c) if touching the wall (d) when the program starts
- 30.🧱 A sprite runs: repeat 5 times [ repeat 4 times [ play a drum beat ] ]. How many drum beats are played?
- 31.🐱 What do we call a character that moves on the stage in block coding? (a) a folder (b) a pixel (c) a sprite (d) a cursor
- 32.🧱 What kind of block is “play a beep”? (a) a motion block (b) a loop block (c) an event block (d) a sound block
- 33.🧱 What kind of block is “if touching the wall”? (a) a motion block (b) a sound block (c) an event block (d) an if block
- 34.🧱 A sprite runs: repeat 2 times [ repeat 2 times [ play a drum beat ] ]. How many drum beats are played?
- 35.🧱 What kind of block is “repeat forever”? (a) a sound block (b) an event block (c) a loop block (d) a motion block
- 36.Which of these is a sound block? (a) if score is 10 (b) move 10 steps (c) if touching the wall (d) set volume to 50%
- 37.🔍 Which is the odd one out? (a) if score is 10 (b) if the key is down (c) if touching the wall (d) repeat until done
- 38.🧱 A sprite runs: repeat 2 times [ move 40 steps ]. How many steps does it move in all?
- 39.🧱 A sprite runs: repeat 6 times [ move 50 steps ]. How many steps does it move in all?
- 40.🔍 Which is the odd one out? (a) repeat 4 times (b) move 10 steps (c) turn right 90 degrees (d) glide to the edge
Answer key
- repeat 4 times
- play a drum beat
- an event block
- an event block
- a sound block
- jigsaw puzzle pieces
- 150
- glide to the edge
- 10
- an if block
- when the program starts
- a loop block
- play a beep
- turn right 90 degrees
- move 10 steps
- an event block
- repeat until done
- if touching the wall
- 6
- when sprite is clicked
- play a beep
- repeat forever
- move 10 steps
- an if block
- when a key is pressed
- if score is 10
- turn right 90 degrees
- 8
- when the program starts
- 20
- a sprite
- a sound block
- an if block
- 4
- a loop block
- set volume to 50%
- repeat until done
- 80
- 300
- repeat 4 times
Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets