← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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