← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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