← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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