← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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