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