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