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