← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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