← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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