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