← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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