Electronics Worksheet: Input and Output Pins
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.🔍 Which is the odd one out? (a) an LED (b) a light sensor (c) a turning knob (d) a temperature sensor
-
2.💡 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 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON -
3.💡 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 7 HIGH
set pin 8 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 4.True or false: “a door: open or shut” is an analog signal. (a) False (b) True
- 5.Which of these is an input? (a) a servo motor (b) a keypad (c) a motor (d) a buzzer
-
6.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 7 LOW
set pin 7 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF -
7.💡 An LED (with its resistor) is on pin 8. All pins start LOW. The program runs once:
set pin 7 LOW
set pin 8 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF -
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 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 9.🔍 Which is the odd one out? (a) a motor (b) an LED (c) a light sensor (d) a speaker
- 10.📶 Digital or analog: a button: pressed or not? (a) digital (b) analog
- 11.Which of these is an output? (a) a temperature sensor (b) a motion sensor (c) a speaker (d) a keypad
- 12.🔌 Is a light sensor an input or an output for a microcontroller? (a) input (b) output
-
13.💡 An LED (with its resistor) is on pin 8. 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 - 14.🔌 Is a keypad an input or an output for a microcontroller? (a) input (b) output
- 15.Which of these is an input? (a) a water pump (b) an LED (c) a motor (d) a sound sensor
- 16.🔍 Which is the odd one out? (a) an LED (b) a motor (c) a buzzer (d) a motion sensor
- 17.🔍 Which is the odd one out? (a) a small display (b) a turning knob (c) a buzzer (d) a servo motor
- 18.📶 Digital or analog: the room temperature? (a) analog (b) digital
-
19.💡 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
set pin 7 LOW
set pin 7 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 20.🔌 Is a water pump an input or an output for a microcontroller? (a) output (b) input
-
21.💡 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 HIGH
set pin 7 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 22.📶 A pin set LOW gives about … (a) 1.5 V (b) 9 V (c) 0 V (d) 5 V
-
23.💡 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 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON - 24.🔍 Which is the odd one out? (a) a keypad (b) a push button (c) a motion sensor (d) a servo motor
- 25.🔌 Is a temperature sensor an input or an output for a microcontroller? (a) output (b) input
- 26.Which of these is an output? (a) a keypad (b) a motion sensor (c) a small display (d) a temperature sensor
- 27.Which of these is an output? (a) a sound sensor (b) a light sensor (c) a servo motor (d) a keypad
- 28.🔌 Is a turning knob an input or an output for a microcontroller? (a) input (b) output
- 29.True or false: “many values in a range” is a digital signal. (a) True (b) False
-
30.💡 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 7 HIGH
Is the LED ON or OFF at the end? (a) ON (b) OFF - 31.🔌 Is a sound sensor an input or an output for a microcontroller? (a) output (b) input
-
32.💡 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 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF -
33.💡 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 LOW
Is the LED ON or OFF at the end? (a) ON (b) OFF - 34.Which of these is an input? (a) a turning knob (b) a servo motor (c) a buzzer (d) a small display
- 35.True or false: “the room temperature” is a digital signal. (a) False (b) True
- 36.Which of these is an input? (a) a water pump (b) a servo motor (c) a motion sensor (d) a small display
-
37.💡 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 HIGH
set pin 8 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON -
38.💡 An LED (with its resistor) is on pin 7. All pins start LOW. The program runs once:
set pin 7 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 - 39.True or false: “a button: pressed or not” is a digital signal. (a) False (b) True
-
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 HIGH
set pin 7 HIGH
Is the LED ON or OFF at the end? (a) OFF (b) ON
Answer key
- an LED
- ON
- ON
- False
- a keypad
- OFF
- OFF
- ON
- a light sensor
- digital
- a speaker
- input
- OFF
- input
- a sound sensor
- a motion sensor
- a turning knob
- analog
- OFF
- output
- ON
- 0 V
- OFF
- a servo motor
- input
- a small display
- a servo motor
- input
- False
- ON
- input
- OFF
- OFF
- a turning knob
- False
- a motion sensor
- ON
- OFF
- True
- OFF
Free electronics lessons, practice and worksheets at talentjr.in/electronics-for-kids