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