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