← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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