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