← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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