← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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