← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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