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