← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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