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