← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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