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