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