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