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