← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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