← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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