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