← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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