← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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