← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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