← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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