← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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