← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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