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