← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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