← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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