← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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