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