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