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