← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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