← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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