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