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