← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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