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