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