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