← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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