← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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