← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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