← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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