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