← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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