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