← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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