← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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