← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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