← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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