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