← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

  1. if score is 10
  2. glide to the edge
  3. 80
  4. a motion block
  5. jigsaw puzzle pieces
  6. a motion block
  7. a sprite
  8. play a beep
  9. 200
  10. a sound block
  11. a loop block
  12. an event block
  13. 315
  14. an if block
  15. an event block
  16. 40
  17. when the program starts
  18. 9
  19. a loop block
  20. when the program starts
  21. 270
  22. 105
  23. 20
  24. a sound block
  25. an if block
  26. a loop block
  27. 3
  28. 4
  29. 12
  30. if touching the wall
  31. repeat 4 times
  32. 10
  33. 105
  34. when a key is pressed
  35. when a key is pressed
  36. 10
  37. a motion block
  38. 40
  39. repeat until done
  40. 6

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