← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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