← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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