← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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