← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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