← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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