← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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