← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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