← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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