← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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