← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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