← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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