← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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