← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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