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