← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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