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