← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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