← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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