← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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