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