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