← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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