← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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