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