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