← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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