← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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