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