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