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