← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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