← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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