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