← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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