← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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