← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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