← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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