← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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