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