← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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