← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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