← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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