← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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