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