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