← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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