← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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