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