← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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