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