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