← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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