← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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