← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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