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