← Block coding basics lesson New set →

Class 5 Computer Worksheet: Block Coding

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

Answer key

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

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