← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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