← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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