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