← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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