← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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