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