← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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