← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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