← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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