← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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