← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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