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