← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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