← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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