← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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