← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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