← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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