← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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