← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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