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