← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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