← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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