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