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