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