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