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