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