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