← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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