← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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