← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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