← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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