← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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