← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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