← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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