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