← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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