← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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