← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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