← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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