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