← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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