← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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