← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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