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