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