← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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