← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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