← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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