← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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