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