← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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