← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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