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