← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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