← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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