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