← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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