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