← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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