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