← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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