← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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