← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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