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