← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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