← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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