← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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