← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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