← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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