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