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