← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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