← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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