← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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