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