← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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