← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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