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