← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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