← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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