← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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