← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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