← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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