← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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