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