← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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