← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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