← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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