← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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