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