← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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