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