← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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