← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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