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