← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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