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