← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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