← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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