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