← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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