← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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