← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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