← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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