← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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