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