← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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