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