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