← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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