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