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