← Input and output pins lesson New set →

Electronics Worksheet: Input and Output Pins

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

Answer key

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

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