← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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