← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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