← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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