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