← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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