← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

Electronics lesson 22: Input and output pins · Set 607 · 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.📶 Digital or analog: the room temperature? (a) digital (b) analog
  2. 2.Which of these is an input? (a) an LED (b) a push button (c) a motor (d) a buzzer
  3. 3.True or false: “a tilt switch: on or off” is an analog signal. (a) False (b) True
  4. 4.True or false: “HIGH or LOW only” is an analog signal. (a) True (b) False
  5. 5.📶 A pin set LOW gives about … (a) 5 V (b) 0 V (c) 1.5 V (d) 9 V
  6. 6.Which of these is an input? (a) a water pump (b) a motor (c) a speaker (d) a light sensor
  7. 7.💡 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
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  8. 8.📶 Digital or analog: a door: open or shut? (a) digital (b) analog
  9. 9.🔌 Is a light sensor an input or an output for a microcontroller? (a) output (b) input
  10. 10.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  11. 11.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  12. 12.📶 Digital or analog: a button: pressed or not? (a) analog (b) digital
  13. 13.Which of these is an input? (a) an LED (b) a turning knob (c) a small display (d) a buzzer
  14. 14.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) input (b) output
  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 7 HIGH
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  16. 16.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 LOW
    set pin 7 HIGH
    set pin 7 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  17. 17.🔍 Which is the odd one out? (a) a sound sensor (b) an LED (c) a small display (d) a water pump
  18. 18.True or false: “a button: pressed or not” is an analog signal. (a) False (b) True
  19. 19.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 8 HIGH
    set pin 8 HIGH
    set pin 7 HIGH
    set pin 7 LOW
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  20. 20.🔌 Is a keypad an input or an output for a microcontroller? (a) output (b) input
  21. 21.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 HIGH
    set pin 8 HIGH
    set pin 7 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  22. 22.🔌 Is a small display an input or an output for a microcontroller? (a) output (b) input
  23. 23.📶 On a 5 V board, a pin set HIGH gives about … (a) 230 V (b) 5 V (c) 50 V (d) 0 V
  24. 24.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 8 LOW
    set pin 8 HIGH
    set pin 8 LOW
    set pin 7 LOW
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  25. 25.💡 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) OFF (b) ON
  26. 26.Which of these is an output? (a) a light sensor (b) a speaker (c) a push button (d) a sound sensor
  27. 27.🔌 Is a turning knob an input or an output for a microcontroller? (a) output (b) input
  28. 28.True or false: “many values in a range” is an analog signal. (a) True (b) False
  29. 29.True or false: “a knob turned part way” is an analog signal. (a) True (b) False
  30. 30.Which of these is an input? (a) a buzzer (b) a servo motor (c) an LED (d) a temperature sensor
  31. 31.Which of these is an output? (a) a small display (b) a light sensor (c) a push button (d) a sound sensor
  32. 32.📶 Digital or analog: a tilt switch: on or off? (a) digital (b) analog
  33. 33.🔌 Is a push button an input or an output for a microcontroller? (a) input (b) output
  34. 34.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
    set pin 7 LOW
    set pin 8 HIGH
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  35. 35.💡 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 HIGH
    set pin 8 LOW
    set pin 7 HIGH
    Is the LED ON or OFF at the end?
    (a) OFF (b) ON
  36. 36.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
    set pin 7 HIGH
    set pin 7 LOW
    set pin 8 HIGH
    set pin 8 LOW
    Is the LED ON or OFF at the end?
    (a) ON (b) OFF
  37. 37.🔍 Which is the odd one out? (a) a speaker (b) a motion sensor (c) an LED (d) a small display
  38. 38.🔍 Which is the odd one out? (a) a turning knob (b) a sound sensor (c) a motion sensor (d) a motor
  39. 39.Which of these is an output? (a) a servo motor (b) a sound sensor (c) a light sensor (d) a push button
  40. 40.📶 Digital or analog: many values in a range? (a) digital (b) analog

Answer key

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

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