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