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