← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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