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