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