← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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