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