← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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