← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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