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