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