WorksheetsDigital Interfacing in Electronics Quiz
Total questions: 114
Worksheet time: 2hrs 54mins
What is the purpose of digital interfacing in electronics?
To amplify analog signals
To convert digital signals into heat
To connect and communicate between digital systems or components
To reduce power consumption
Which of the following is not a type of digital interfacing?
Memory interfacing
I/O interfacing
Analog signal interfacing
Display interfacing
Which component is often used to buffer digital signals during interfacing?
Transistor
Diode
Tri-state buffer
Capacitor
What is a sensor?
A device that stores energy
A device that measures physical input and converts it into a signal
A device that amplifies signals
A device that produces heat
Which of the following is a temperature sensor?
LDR
Thermistor
Microphone
Ultrasonic sensor
An LDR (Light Dependent Resistor) is a type of:
Pressure sensor
Light sensor
Magnetic sensor
Temperature sensor
Which sensor is used to measure distance using sound waves?
IR sensor
Capacitive sensor
Ultrasonic sensor
Thermocouple
A piezoelectric sensor is used to detect:
Light
Heat
Motion or vibrations
Humidity
Which of the following is a digital sensor?
Thermistor
Ultrasonic sensor with trigger and echo pins
LDR
RTD
Which sensor is best suited to detect magnetic fields?
Thermistor
IR sensor
Hall effect sensor
PIR sensor
A PIR (Passive Infrared) sensor is used to detect:
Temperature
Motion of living beings
Light
Water level
Which of the following is an analog sensor?
Push button
Ultrasonic sensor
LDR
Digital temperature sensor (like DS18B20)
A capacitive sensor works based on:
Sound reflection
Changes in capacitance
Light intensity
Magnetic field
What does TTL stand for?
Transistor to Light Logic
Transistor-Transistor Logic
Tri-State Transistor Logic
Time Triggered Logic
What does CMOS stand for?
Central Memory Operating System
Complementary Metal-Oxide Semiconductor
Current Mode Output System
Capacitive Mode On-chip Switching
Which of the following is true about CMOS logic family?
High power consumption
High noise margin
Works only at low voltage
Cannot interface with TTL
Which voltage level is logic HIGH in standard TTL logic?
0V
2.0V to 5.0V
0V to 1.4V
1.0V exactly
The main concern when interfacing TTL outputs to CMOS inputs is:
Speed difference
Power dissipation
Voltage level incompatibility
Clock frequency
When interfacing TTL output to CMOS input, what is often required?
Pull-down resistor
Level shifter or pull-up resistor
Diode
Inverter
What is a major advantage of CMOS over TTL?
Higher power consumption
Slower speed
Lower power consumption
Larger size
What is the typical power supply voltage for standard TTL circuits?
3.3V
1.8V
5V
9V
What issue may occur when CMOS drives TTL inputs directly?
Excessive voltage
Insufficient current drive
Overheating
Excessive delay
What is the main function of a switch in digital interfacing?
To amplify signals
To store data
To provide user input to a digital system
To convert analog signals to digital
When a switch is pressed, it typically produces which type of output?
Sine wave
Analog voltage
Binary (HIGH or LOW)
Frequency modulated signal
What is debouncing in switch interfacing?
Removing the switch from the circuit
Filtering out noise from switch contacts
Increasing the speed of switching
Making the switch wireless
Which component is commonly used for hardware debouncing?
Diode
Transistor
Capacitor and resistor
Relay
What is the logic level at the microcontroller input when a pull-down resistor is used with a switch (normally open)?
HIGH when switch is open, LOW when closed
LOW when switch is open, HIGH when closed
Always HIGH
Always LOW
A pull-up resistor is connected between:
Ground and input pin
Vcc and input pin
Input pin and output pin
Vcc and ground
What happens if a switch is connected without a pull-up or pull-down resistor?
Stable HIGH
Stable LOW
Floating input (undefined logic level)
Short circuit
What does LED stand for?
Light Emitting Device
Low Energy Diode
Light Emitting Diode
Linear Electronic Display
When interfacing an LED with a microcontroller, what is typically placed in series with the LED?
Inductor
Capacitor
Transistor
Resistor
What happens if an LED is connected without a current-limiting resistor?
It glows brighter
It emits sound
It may burn out
It works as normal
What is the typical forward voltage drop of a red LED?
5V
0.3V
1.8V to 2.2V
12V
Which logic level turns on an LED connected between the microcontroller output pin and ground?
HIGH
LOW
Tri-state
Floating
What is the anode of an LED?
Negative terminal
Ground terminal
Positive terminal
Power supply
If the LED is connected between the output pin and Vcc, what logic level turns it on?
LOW
HIGH
Floating
Both
What is the purpose of using an NPN transistor with an LED in interfacing?
To make it blink faster
To reduce power
To amplify voltage
To switch higher current using a small control signal
What is PWM used for in LED interfacing?
To make the LED blink
To change LED color
To control brightness
To power the LED
Which of the following is not a common LED color?
Red
Blue
Black
Green
What is a relay in electronics?
A sensor
A switch operated by electricity
A power source
A signal amplifier
What is a relay in electronics?
A sensor
A switch operated by electricity
A power source
A signal amplifier
What component is typically used to drive a relay from a microcontroller?
Resistor
Diode
Transistor
LED
What is the purpose of a fly back diode across a relay coil?
To provide delay
To prevent current leakage
To protect against back EMF
To increase switching speed
When the relay coil is energized, what happens to the relay contacts?
They open
They close
They short-circuit
They disconnect power
What type of signal typically controls a relay in digital interfacing?
Analog signal
AC signal
Digital HIGH or LOW
Frequency modulated signal
Which of the following is a major advantage of using a relay in interfacing?
High switching speed
Isolation between control and load side
Works with very low voltages only
Very small in size
What is the common voltage rating for the control coil of a relay used with microcontrollers?
12V
9V
5V
3.3V
Which type of relay is most common in microcontroller-based projects?
Reed relay
Solid-state relay
Electromechanical relay (EMR)
Optical relay
What is a typical drawback of electromechanical relays?
High efficiency
Low cost
Mechanical wear over time
Low voltage isolation
In a relay interface, the common terminal is connected to:
Ground only
Vcc only
Either NC or NO contact
Coil supply
What is the main purpose of interfacing a motor with a microcontroller?
To generate sound
To amplify signals
To control motor direction and speed
To store electrical energy
Which component is typically used to drive a DC motor using a microcontroller?
Resistor
Capacitor
Transistor or H-Bridge driver
LED
Which type of motor offers precise position control?
DC motor
AC motor
Servo motor
Universal motor
What is PWM used for in motor control?
Position detection
Speed control
Voltage regulation
Reverse rotation
Which motor is commonly used in robotics for angular position control?
DC motor
Stepper motor
Induction motor
Universal motor
In motor interfacing, what does fly back diode prevent?
Overvoltage at power supply
Overheating
Reverse current spikes
Frequency distortion
Which motor requires phased pulses to operate?
DC motor
Stepper motor
Servo motor
Brushless motor
What happens when both inputs of an H-bridge are LOW?
Motor runs forward
Motor runs in reverse
Motor brakes or stops
Motor spins at full speed
What is a solenoid in the context of electronic interfacing?
A type of sensor
A current amplifier
An electromechanical actuator
A digital logic device
What component is commonly used to drive a solenoid from a microcontroller?
LED
Capacitor
Transistor or Relay
Potentiometer
What is the role of a fly back diode across a solenoid coil?
Increase magnetic field
Reduce current
Suppress back EMF
Amplify voltage
What kind of motion does a typical solenoid produce?
Rotary motion
Vibratory motion
Linear motion
Oscillating motion
Which of the following must be considered when choosing a solenoid for interfacing?
Color of solenoid
Resistance of the coil
Light intensity
Frequency of AC
What voltage rating is typical for small DC solenoids used in embedded systems?
230V
120V
12V or 5V
3.3mV
Which of the following statements is true about solenoid operation?
It requires continuous analog input
It creates motion using compressed air
It acts as a linear actuator using electromagnetic force
It stores data digitally
What will happen if a solenoid is energized for a long time without proper heat management?
It glows
It cools rapidly
It may overheat and get damaged
It increases speed
In interfacing, how is a solenoid typically activated by a microcontroller?
Direct connection
Through a signal diode
Through a switching circuit (e.g., transistor or relay)
Through an AC inverter
Which of the following applications typically uses solenoid actuators?
RAM memory
LCD screens
Electric door locks and vending machines
Wireless routers
What is the primary function of an A/D converter?
Convert digital to analog signals
Convert analog signals to digital signals
Store digital data
Transmit analog signals
What does the resolution of an A/D converter indicate?
Number of bits used in output
Speed of conversion
Voltage of input
Memory size
What is the unit of A/D converter resolution?
Volts
Bits
Hertz
Amperes
What type of signal is input to an A/D converter?
Only digital
Only analog
Both digital and analog
Pulse-width modulated
Which A/D conversion method is fastest?
Successive approximation
Flash conversion
Dual slope
Integrating type
Which A/D converter type is most commonly used in microcontrollers?
Flash ADC
Dual slope ADC
Successive Approximation Register (SAR) ADC
Delta-sigma ADC
A 10-bit ADC can represent how many discrete voltage levels?
100
512
1024
2048
What is quantization in A/D conversion?
Reducing noise
Converting binary to decimal
Rounding analog values to nearest digital level
Amplifying signals
The Successive Approximation ADC is based on which type of technique?
Trial-and-error
Binary search
Counting
Comparator stacking
The Successive Approximation ADC is based on which type of technique?
Trial-and-error
Binary search
Counting
Comparator stacking
What is the key component in a Successive Approximation ADC?
Counter
Shift register
Digital-to-Analog Converter (DAC)
Encoder
What is the main advantage of SAR ADCs?
Highest speed
Highest accuracy
Good balance between speed and resolution
Simplest structure
In SAR ADC, the comparison is done using which component?
DAC
Comparator
Register
Clock
Which of the following is true about SAR ADC speed?
Slower than dual slope
Faster than flash ADC
Slower than flash ADC
Equal to counter type
A 10-bit SAR ADC will require how many clock cycles to complete one conversion?
1
5
10
1024
What determines the accuracy of a SAR ADC?
Clock frequency
Number of bits and DAC precision
Sampling rate
Comparator speed
Which of the following applications is best suited for SAR ADCs?
Video processing
Oscilloscopes
Real-time embedded systems
Audio broadcasting
What happens after each comparator decision in SAR ADC?
The entire process restarts
The DAC output is updated to refine the next guess
Conversion ends
The input signal is sampled again
SAR ADCs are commonly found in which of the following?
High-end oscilloscopes
Microcontrollers (like AVR, ARM, PIC)
Audio amplifiers
RF transceivers
What is the primary principle behind a Dual Slope ADC?
Binary search
Voltage ladder
Integration and de-integration
Pulse width modulation
Dual slope ADCs are known for their:
High speed
Simplicity
High noise immunity and accuracy
High cost
What is the major drawback of a Dual Slope ADC?
Low resolution
Complex design
Slow conversion speed
High power consumption
What component is essential in a Dual Slope ADC for integration?
Comparator
Flip-flop
Integrator circuit (op-amp with RC)
Counter
In the de-integration phase, the integrator input is switched to:
Ground
Reference voltage of opposite polarity
Zero volts
A random analog voltage
What determines the digital output in a dual slope ADC?
Integration period
Number of clock pulses during de-integration
Input voltage only
Comparator threshold
Dual slope ADCs are most commonly used in:
Microcontrollers
Audio devices
Digital voltmeters
Satellite communication
Which of the following affects the conversion time of a dual slope ADC?
Bit resolution
Sampling rate
Integration and de-integration time
Comparator gain
Which characteristic of the dual slope ADC provides excellent noise rejection?
Binary search
De-integration using fixed voltage
Time-averaging of the input signal
Use of parallel comparators
Dual slope ADCs are preferred when:
Speed is critical
Cost must be minimized
Accuracy is more important than speed
Compact design is essential
What is the primary function of a D/A converter?
Convert analog signals to digital
Convert digital signals to analog
Amplify digital signals
Filter analog signals
Which of the following is a commonly used type of DAC?
Successive approximation
Flash
R-2R ladder
Dual slope
The resolution of a DAC is defined as:
Output frequency
Number of output pins
Number of discrete analog levels
Power consumption
A 4-bit DAC can represent how many discrete analog levels?
4
8
16
32
Which component is typically used in an R-2R ladder DAC circuit?
Capacitor
Inductor
Resistors only
Diodes
What is the unit of DAC resolution?
Amperes
Bits
Hertz
Volts
In DACs, increasing the number of bits:
Increases output voltage
Decreases accuracy
Increases resolution
Reduces cost
What type of error is caused by mismatched resistor values in an R-2R DAC?
Quantization error
Gain error
Offset error
Linearity error
Which DAC type offers the fastest conversion speed?
R-2R ladder
Weighted resistor
Sigma-delta
Current-steering (or parallel) DAC
A DAC is most commonly used in:
RAM chips
Digital voltmeters
Microcontrollers
Audio output systems
What is the basic principle of a weighted resistor DAC?
Use of integrator for analog output
Use of equal resistors
Using binary-weighted resistors to generate analog voltage
Using capacitors for voltage division
In a 4-bit weighted resistor DAC, the resistor connected to the Most Significant Bit (MSB) has the:
Lowest resistance
Highest resistance
Equal resistance
No resistance
Which of the following is a disadvantage of a weighted resistor DAC?
Low power consumption
Simple design
Difficult to get precise resistor values for higher bits
Very slow conversion speed
What is the output of a weighted resistor DAC directly proportional to?
Clock speed
Number of input lines
Digital input value
Load resistance
What happens to the accuracy of a weighted resistor DAC as the number of bits increases?
It remains constant
It improves
It degrades due to resistor tolerance issues
It becomes ideal
Which component is essential in converting the weighted current to voltage in a weighted resistor DAC?
Integrator
Comparator
Operational Amplifier (Op-Amp)
Decoder
What is the output range of a weighted resistor DAC if Vref = 5V and it is a 3-bit system?
0V to 5V
0V to 7V
0V to 8V
0V to 4.375V
