← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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