← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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