← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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