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