← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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