← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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