← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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