← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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