← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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