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