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