← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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