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