← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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