← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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