← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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