← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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