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