← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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