← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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