← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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