← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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