← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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