← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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