← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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