← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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