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