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