← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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