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