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