← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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