← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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