← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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