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