← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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