← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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