← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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