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