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