← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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