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