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