← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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