← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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