← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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