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