← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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