← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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