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