← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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