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