← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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