← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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