← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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