← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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