← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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