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