← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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