← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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