← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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