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