← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

Computer lesson 27: Block coding basics · Set 11 · 40 questions
TalentJR

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

Answer key

  1. jigsaw puzzle pieces
  2. a loop block
  3. an if block
  4. a sound block
  5. when a key is pressed
  6. an if block
  7. repeat until done
  8. if touching the wall
  9. move 10 steps
  10. when sprite is clicked
  11. turn right 90 degrees
  12. when the program starts
  13. when a key is pressed
  14. play a drum beat
  15. a motion block
  16. a sprite
  17. play a drum beat
  18. 20
  19. 6
  20. set volume to 50%
  21. a motion block
  22. if score is 10
  23. when the program starts
  24. if the key is down
  25. 70
  26. a loop block
  27. an event block
  28. glide to the edge
  29. repeat until done
  30. 105
  31. 20
  32. a loop block
  33. 4
  34. move 10 steps
  35. a loop block
  36. when sprite is clicked
  37. 10
  38. 8
  39. a sound block
  40. 140

Free computer lessons, practice and worksheets at talentjr.in/computer-worksheets