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