← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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