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