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