← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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