← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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