← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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