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