← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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