← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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