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