← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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