← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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