← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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