← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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