← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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