← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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