← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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