← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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