← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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