← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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