← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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