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