← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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