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