← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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