← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 882 · 40 questions
TalentJR

Remember (Read in, drive out): Inputs: buttons, knobs, sensors. Outputs: LEDs, buzzers, motors, displays. Digital: HIGH (≈ 5 V) or LOW (0 V) only. Analog: any value in a range. Trace the program: only the LED’s own pin matters, and its last command decides ON or OFF.

NameDateTime takenScore ___ / 40
  1. 1.🔍 Which is the odd one out? (a) a speaker (b) a small display (c) a servo motor (d) a sound sensor
  2. 2.📶 Digital or analog: a knob turned part way? (a) digital (b) analog
  3. 3.True or false: “how loud a sound is” is a digital signal. (a) False (b) True
  4. 4.Which of these is an input? (a) a buzzer (b) a turning knob (c) a motor (d) a water pump
  5. 5.Which of these is an output? (a) a temperature sensor (b) a speaker (c) a turning knob (d) a push button
  6. 6.📶 How many states can a digital pin have? (a) a thousand (b) one (c) two (d) ten
  7. 7.Which of these is an output? (a) a light sensor (b) a keypad (c) a motion sensor (d) a water pump
  8. 8.📶 Digital or analog: how bright a room is? (a) analog (b) digital
  9. 9.🔍 Which is the odd one out? (a) a push button (b) a motion sensor (c) a buzzer (d) a light sensor
  10. 10.🔍 Which is the odd one out? (a) a buzzer (b) a temperature sensor (c) a speaker (d) a water pump
  11. 11.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  12. 12.Which of these is an input? (a) a light sensor (b) a speaker (c) a buzzer (d) an LED
  13. 13.🔌 Is a turning knob an input or an output for a microcontroller? (a) input (b) output
  14. 14.True or false: “many values in a range” is a digital signal. (a) True (b) False
  15. 15.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 8 LOW
    set pin 8 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  16. 16.🔌 Is a sound sensor an input or an output for a microcontroller? (a) output (b) input
  17. 17.True or false: “a knob turned part way” is an analog signal. (a) True (b) False
  18. 18.True or false: “a door: open or shut” is a digital signal. (a) False (b) True
  19. 19.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 HIGH
    set pin 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  20. 20.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 7 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  21. 21.🔌 Is a buzzer an input or an output for a microcontroller? (a) output (b) input
  22. 22.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
  23. 23.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  24. 24.True or false: “a tilt switch: on or off” is an analog signal. (a) True (b) False
  25. 25.📶 Digital or analog: a door: open or shut? (a) analog (b) digital
  26. 26.🔌 Is a push button an input or an output for a microcontroller? (a) input (b) output
  27. 27.🔍 Which is the odd one out? (a) a servo motor (b) an LED (c) a light sensor (d) a small display
  28. 28.📶 A pin that reads a push button is set as … (a) a resistor (b) an input (c) an output (d) a battery
  29. 29.📶 Digital or analog: HIGH or LOW only? (a) analog (b) digital
  30. 30.🔍 Which is the odd one out? (a) a push button (b) a light sensor (c) a small display (d) a sound sensor
  31. 31.True or false: “a tilt switch: on or off” is a digital signal. (a) False (b) True
  32. 32.Which of these is an output? (a) a motion sensor (b) a light sensor (c) a buzzer (d) a push button
  33. 33.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  34. 34.🔌 Is a keypad an input or an output for a microcontroller? (a) output (b) input
  35. 35.📶 Digital or analog: a button: pressed or not? (a) analog (b) digital
  36. 36.📶 Digital or analog: a tilt switch: on or off? (a) analog (b) digital
  37. 37.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 8 LOW
    set pin 8 LOW
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  38. 38.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  39. 39.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 8 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  40. 40.True or false: “a button: pressed or not” is an analog signal. (a) False (b) True

Answer key

  1. a sound sensor
  2. analog
  3. False
  4. a turning knob
  5. a speaker
  6. two
  7. a water pump
  8. analog
  9. a buzzer
  10. a temperature sensor
  11. OFF
  12. a light sensor
  13. input
  14. False
  15. OFF
  16. input
  17. True
  18. True
  19. ON
  20. OFF
  21. output
  22. input
  23. OFF
  24. False
  25. digital
  26. input
  27. a light sensor
  28. an input
  29. digital
  30. a small display
  31. True
  32. a buzzer
  33. OFF
  34. input
  35. digital
  36. digital
  37. OFF
  38. OFF
  39. ON
  40. False

Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids