← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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