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