Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
Question 1 of 60 · Analog and digital signals · Easy
Which statement best describes an analog signal?
Not quite. Try another option.
Answer: It varies continuously over a range
An analog signal can take any value within a continuous range.
Question 2 of 60 · Analog and digital signals · Easy
A basic digital signal commonly uses which two logic levels?
Not quite. Try another option.
Answer: Low and high
Digital signals commonly represent information using low and high logic levels.
Question 3 of 60 · Analog and digital signals · Easy
Which quantity is most naturally represented by an analog signal?
Not quite. Try another option.
Answer: Room temperature
Room temperature changes continuously, so it is naturally represented by an analog signal.
Question 4 of 60 · Analog and digital signals · Easy
Which device generally produces a digital input when it is simply pressed or released?
Not quite. Try another option.
Answer: Push button
A push button usually has two states: pressed and released, which can be represented digitally.
Question 5 of 60 · Arduino board (pin configuration and description) · Easy
Which pins on an Arduino Uno are commonly used to read analog sensor values?
Not quite. Try another option.
Answer: Pins A0 to A5
The Arduino Uno provides analog input pins labeled A0 through A5.
Question 6 of 60 · Arduino board (pin configuration and description) · Easy
What is the purpose of a GND pin on an Arduino board?
Not quite. Try another option.
Answer: It provides a common ground
The GND pin provides the common electrical reference and return path for a circuit.
Question 7 of 60 · Arduino board (pin configuration and description) · Easy
What is the main function of the microcontroller on an Arduino board?
Not quite. Try another option.
Answer: It executes the uploaded program
The microcontroller runs the instructions contained in the program uploaded to the board.
Question 8 of 60 · Arduino board (pin configuration and description) · Easy
Which Arduino Uno pins can generally be configured as either inputs or outputs?
Not quite. Try another option.
Answer: Digital pins
Digital pins can be configured by a program to receive input or provide output.
Question 9 of 60 · IR sensor · Easy
What does the abbreviation IR stand for?
Not quite. Try another option.
Answer: Infrared
IR stands for infrared, a type of electromagnetic radiation beyond visible red light.
Question 10 of 60 · IR sensor · Easy
A basic reflective IR sensor detects an object mainly by sensing what?
Not quite. Try another option.
Answer: Reflected infrared light
The sensor emits infrared light and detects the portion reflected by a nearby object.
Question 11 of 60 · IR sensor · Easy
Which application commonly uses an IR sensor?
Not quite. Try another option.
Answer: Obstacle detection
IR sensors are commonly used to detect nearby obstacles through reflected infrared light.
Question 12 of 60 · LDR · Easy
What does the abbreviation LDR stand for?
Not quite. Try another option.
Answer: Light Dependent Resistor
LDR stands for Light Dependent Resistor because its resistance depends on light intensity.
Question 13 of 60 · LDR · Easy
What usually happens to the resistance of an LDR when light intensity increases?
Not quite. Try another option.
Answer: It decreases
An LDR normally has lower resistance in brighter light.
Question 14 of 60 · LDR · Easy
Which project is a common application of an LDR?
Not quite. Try another option.
Answer: Automatic streetlight
An LDR can detect darkness and help switch an automatic streetlight on.
Question 15 of 60 · Basic principle of ultrasonic sensor · Easy
Which type of wave is used by an ultrasonic distance sensor?
Not quite. Try another option.
Answer: High-frequency sound waves
An ultrasonic sensor uses sound waves with frequencies above the normal human hearing range.
Question 16 of 60 · Basic principle of ultrasonic sensor · Easy
What does an ultrasonic sensor measure to determine the distance of an object?
Not quite. Try another option.
Answer: Echo travel time
The sensor measures how long an ultrasonic pulse takes to travel to an object and return as an echo.
Question 17 of 60 · Basic principle of ultrasonic sensor · Easy
Which formula represents the distance measured using the round-trip time and speed of sound ?
Not quite. Try another option.
Answer:
The measured time covers the journey to the object and back, so the total distance is divided by .
Question 18 of 60 · Temperature sensor (DHT11/DHT22) · Easy
Which two environmental quantities can both DHT11 and DHT22 sensors measure?
Not quite. Try another option.
Answer: Temperature and humidity
Both DHT11 and DHT22 sensors provide digital measurements of temperature and relative humidity.
Question 19 of 60 · Temperature sensor (DHT11/DHT22) · Easy
What type of output is provided by a DHT11 sensor?
Not quite. Try another option.
Answer: Digital data
The DHT11 sends its temperature and humidity measurements as digital data.
Question 20 of 60 · Temperature sensor (DHT11/DHT22) · Easy
Compared with the DHT11, which sensor generally offers a wider measurement range and better accuracy?
Not quite. Try another option.
Answer: DHT22
The DHT22 generally measures over wider temperature and humidity ranges with better accuracy than the DHT11.
Question 21 of 60 · Analog and digital signals · Medium
An Arduino Uno uses a 10-bit ADC with a reference voltage of . What ADC value is expected for an input of ?
Not quite. Try another option.
Answer: Approximately 512
A 10-bit ADC produces values from 0 to 1023. Thus, .
Question 22 of 60 · Analog and digital signals · Medium
A digital input reads LOW below and HIGH above . What is the main problem if the input remains near ?
Not quite. Try another option.
Answer: The state may be undefined
A voltage between the guaranteed LOW and HIGH ranges may not be interpreted reliably, so the digital state can be undefined.
Question 23 of 60 · Analog and digital signals · Medium
A sensor signal contains frequency components up to . Which sampling rate satisfies the Nyquist criterion?
Not quite. Try another option.
Answer:
The sampling rate must be greater than twice the highest frequency. Since , is suitable.
Question 24 of 60 · Analog and digital signals · Medium
An Arduino PWM pin outputs a pulse train with a 40% duty cycle. What average voltage is obtained after suitable low-pass filtering?
Not quite. Try another option.
Answer: Approximately
The filtered average is .
Question 25 of 60 · Arduino board (pin configuration and description) · Medium
On an Arduino Uno, which pins should generally be avoided for an ordinary sensor if USB serial communication is being used?
Not quite. Try another option.
Answer: Digital pins 0 and 1
Digital pins 0 and 1 are the hardware serial RX and TX pins. Using them for another device can interfere with USB serial communication.
Question 26 of 60 · Arduino board (pin configuration and description) · Medium
A motor-speed control circuit requires a PWM signal from an Arduino Uno. Which selected pin is suitable?
Not quite. Try another option.
Answer: Digital pin 9
On the Arduino Uno, pin 9 is one of the PWM-capable pins marked with a tilde symbol.
Question 27 of 60 · Arduino board (pin configuration and description) · Medium
A sensor provides a continuously varying output voltage between and . Where should its output be connected on an Arduino Uno for measurement?
Not quite. Try another option.
Answer: An analog input pin
An analog input such as A0 connects the sensor voltage to the Uno's ADC for conversion into a numerical value.
Question 28 of 60 · Arduino board (pin configuration and description) · Medium
Two modules must communicate with an Arduino Uno through the I2C bus. Which pair of Uno pins carries the I2C signals?
Not quite. Try another option.
Answer: A4 and A5
On the Arduino Uno, A4 carries SDA data and A5 carries the SCL clock for I2C communication.
Question 29 of 60 · Arduino board (pin configuration and description) · Medium
An LED is connected from Arduino pin 8 to GND through a resistor. Which configuration and output combination turns it on?
Not quite. Try another option.
Answer: Set pin 8 as OUTPUT and write HIGH
The pin must be configured as an output. Writing HIGH provides a voltage across the LED and resistor, allowing current to flow to GND.
Question 30 of 60 · IR sensor · Medium
An IR obstacle sensor detects a black surface less reliably than a white surface at the same distance. What is the most likely reason?
Not quite. Try another option.
Answer: The black surface absorbs more IR
Black surfaces generally absorb more infrared radiation and reflect less toward the receiver, reducing the strength of the detected signal.
Question 31 of 60 · IR sensor · Medium
An active-LOW IR sensor module gives LOW when an obstacle is present. Which program condition should trigger an alarm?
Not quite. Try another option.
Answer: Sensor reading equals LOW
For an active-LOW module, obstacle detection is represented by a LOW digital output.
Question 32 of 60 · IR sensor · Medium
An IR obstacle detector produces false detections in direct sunlight. Which explanation best accounts for this behavior?
Not quite. Try another option.
Answer: Sunlight contains infrared radiation
Sunlight includes infrared radiation that can reach or saturate the receiver, causing interference and false detections.
Question 33 of 60 · LDR · Medium
An LDR is connected to and a fixed resistor is connected from the output node to GND. What happens to the output voltage when light intensity increases?
Not quite. Try another option.
Answer: It increases toward
More light decreases the LDR resistance. In this divider, , so the output voltage increases.
Question 34 of 60 · LDR · Medium
An LDR of is connected to , and a resistor connects the output node to GND. What is the output voltage?
Not quite. Try another option.
Answer:
The two resistances are equal, so the voltage divider produces half the supply voltage: .
Question 35 of 60 · LDR · Medium
A streetlight controlled by an LDR switches rapidly on and off near twilight. Which modification best reduces this behavior?
Not quite. Try another option.
Answer: Add hysteresis to the switching thresholds
Hysteresis uses separate turn-on and turn-off thresholds, preventing small light fluctuations from repeatedly changing the output state.
Question 36 of 60 · Basic principle of ultrasonic sensor · Medium
An ultrasonic sensor measures a round-trip echo time of . Taking the speed of sound as , how far away is the object?
Not quite. Try another option.
Answer:
The pulse travels to the object and back, so .
Question 37 of 60 · Basic principle of ultrasonic sensor · Medium
Why is the measured echo travel distance divided by two when calculating object distance?
Not quite. Try another option.
Answer: The pulse travels to the object and back
The measured time covers the complete round trip. The one-way distance to the object is therefore half the total traveled distance.
Question 38 of 60 · Basic principle of ultrasonic sensor · Medium
An ultrasonic sensor gives unstable readings from a smooth wall placed at a steep angle. What is the most likely cause?
Not quite. Try another option.
Answer: The echo reflects away from the receiver
A smooth angled surface can reflect the ultrasonic wave away from the sensor, producing a weak or missing echo.
Question 39 of 60 · Temperature sensor (DHT11/DHT22) · Medium
A project must measure temperatures below with better resolution. Which sensor is generally more suitable?
Not quite. Try another option.
Answer: DHT22
The DHT22 has a wider temperature range and better resolution than the DHT11, including support for measurements below .
Question 40 of 60 · Temperature sensor (DHT11/DHT22) · Medium
A DHT sensor occasionally returns invalid checksum errors when read in a fast loop. Which change is most appropriate?
Not quite. Try another option.
Answer: Increase the interval between readings
DHT sensors have limited sampling rates. Allowing sufficient time between readings helps prevent incomplete data and checksum errors.
Question 41 of 60 · Analog and digital signals · Hard
An Arduino Uno reads an analog sensor using its 10-bit ADC with a 5 V reference. If the input is 3.72 V, what digital value is expected most closely, assuming ideal conversion?
Not quite. Try another option.
Answer: 762
The ADC value is approximately , which rounds to about 762.
Question 42 of 60 · Analog and digital signals · Hard
A slowly varying analog signal is sampled at 800 Hz. The signal contains a desired component at 120 Hz and an unwanted component at 510 Hz. What will most likely be observed after sampling if no anti-aliasing filter is used?
Not quite. Try another option.
Answer: The 510 Hz component appears near 290 Hz
The Nyquist frequency is 400 Hz. A 510 Hz component aliases to Hz.
Question 43 of 60 · Analog and digital signals · Hard
An Arduino digital input has a HIGH threshold of approximately 3 V and a LOW threshold of approximately 1.5 V. A slowly changing sensor output remains at 2.2 V for several seconds. How should this input state be classified?
Not quite. Try another option.
Answer: Undefined because it lies between the thresholds
Voltages between the specified LOW and HIGH thresholds are in the undefined region. The digital input may be read inconsistently and can be noise-sensitive.
Question 44 of 60 · Analog and digital signals · Hard
A 10-bit ADC uses a 2.56 V reference. What is the smallest ideal input-voltage change that can produce a one-count change in the conversion result?
Not quite. Try another option.
Answer: 2.50 mV
One ADC count corresponds approximately to mV.
Question 45 of 60 · Arduino board (pin configuration and description) · Hard
On an Arduino Uno, a sketch uses analogWrite(9, 128) to control LED brightness. Which statement best describes the generated signal?
Not quite. Try another option.
Answer: A 5 V PWM waveform with about 50% duty cycle
On Uno PWM-capable pin 9, analogWrite(128) produces a digital waveform whose duty cycle is approximately , or 50%, rather than a true analog voltage.
Question 46 of 60 · Arduino board (pin configuration and description) · Hard
An Arduino Uno circuit requires SPI communication with a peripheral. Which pin assignment is correct for the hardware SPI interface?
Not quite. Try another option.
Answer: MOSI 11, MISO 12, SCK 13, SS 10
For the Arduino Uno, hardware SPI uses D11 for MOSI, D12 for MISO, D13 for SCK, and commonly D10 for the slave-select line.
Question 47 of 60 · Arduino board (pin configuration and description) · Hard
A circuit drives an external 5 V signal into Arduino Uno pin 2 and also connects the signal source ground to Arduino GND. Which change is most important when the external signal may exceed 5 V?
Not quite. Try another option.
Answer: Add level shifting or a suitable protection interface
Arduino I/O pins are not designed for arbitrary overvoltage. A signal above the allowed pin voltage can cause current injection or permanent damage, so level shifting or protection is required.
Question 48 of 60 · Arduino board (pin configuration and description) · Hard
A pushbutton is connected between Arduino Uno pin 7 and ground, and INPUT_PULLUP is configured. What reading pattern should the program interpret as a pressed button?
Not quite. Try another option.
Answer: LOW when pressed and HIGH when released
The internal pull-up biases the unpressed input HIGH. Pressing the button connects the pin to ground, producing a LOW reading.
Question 49 of 60 · IR sensor · Hard
An obstacle-detection IR module gives a LOW output when it detects a nearby object. The output remains LOW when a highly reflective white surface is moved farther away. Which explanation is most plausible?
Not quite. Try another option.
Answer: The receiver is responding to stronger reflected IR
Reflective surfaces can return sufficient infrared energy even at greater distances. Many basic IR modules threshold reflected intensity rather than directly measuring distance.
Question 50 of 60 · IR sensor · Hard
An IR proximity sensor works reliably indoors but frequently detects obstacles in direct sunlight. What is the best engineering remedy?
Not quite. Try another option.
Answer: Use modulation and optical filtering with threshold calibration
Sunlight contains infrared energy and can saturate the receiver. Modulated transmission, a matched optical filter, and a calibrated threshold improve rejection of ambient light.
Question 51 of 60 · IR sensor · Hard
An IR reflective module has an adjustable threshold and produces unstable output near a boundary. Which change most directly reduces rapid switching caused by small signal fluctuations?
Not quite. Try another option.
Answer: Add hysteresis to the threshold decision
Hysteresis uses different switching thresholds for entering and leaving the detected state, preventing noise near one threshold from causing repeated transitions.
Question 52 of 60 · LDR · Hard
An LDR has a resistance of 10 kΩ in darkness and 1 kΩ in bright light. It is connected in a divider with a fixed 10 kΩ resistor from 5 V to ground, with the output taken at the junction. What happens to the output voltage in bright light?
Not quite. Try another option.
Answer: It rises from 2.5 V to about 4.55 V
With the LDR connected to 5 V, . The output changes from 2.5 V in darkness to V in bright light.
Question 53 of 60 · LDR · Hard
An LDR divider is connected to an Arduino analog input. The reading changes significantly when a motor starts, even though illumination is constant. Which cause is most likely?
Not quite. Try another option.
Answer: Motor noise causes supply or ground fluctuations
Motor switching can introduce conducted and radiated noise, voltage dips, or ground shifts. Decoupling, wiring improvements, filtering, and suppression at the motor can reduce the error.
Question 54 of 60 · LDR · Hard
Two identical LDR dividers are used to detect left-right light imbalance. To make the differential reading less sensitive to changes in overall illumination, which approach is most appropriate?
Not quite. Try another option.
Answer: Compare normalized readings or use a differential ratio
A ratio such as largely cancels common changes in illumination while preserving the relative difference between the two sensors.
Question 55 of 60 · Basic principle of ultrasonic sensor · Hard
An ultrasonic sensor measures the round-trip echo time as 8.0 ms. Taking the speed of sound as 343 m/s, what is the approximate target distance?
Not quite. Try another option.
Answer: 1.372 m
The pulse travels to the target and back, so m.
Question 56 of 60 · Basic principle of ultrasonic sensor · Hard
An HC-SR04-style sensor is mounted 1.2 m above a flat floor and points vertically downward. With the speed of sound at 343 m/s, what echo duration should be expected approximately?
Not quite. Try another option.
Answer: 7.0 ms
The sound travels 2.4 m in the round trip. Thus s, or 7.0 ms.
Question 57 of 60 · Basic principle of ultrasonic sensor · Hard
Two ultrasonic sensors are installed close together and triggered almost simultaneously. Their readings become erratic. What is the most likely cause and remedy?
Not quite. Try another option.
Answer: Cross-talk; trigger sensors at separated times
The receiver of one sensor can detect the other sensor's acoustic pulse. Time-multiplexing the triggers and allowing echoes to settle reduces cross-talk.
Question 58 of 60 · Basic principle of ultrasonic sensor · Hard
An ultrasonic sensor reports an unexpectedly long distance when aimed at a smooth, angled glass surface. Which explanation is most accurate?
Not quite. Try another option.
Answer: The angled surface reflects sound away from the receiver
A smooth surface can produce specular reflection. If the reflected wave does not return toward the receiver, the sensor may miss the direct echo and detect a later or weaker reflection.
Question 59 of 60 · Temperature sensor (DHT11/DHT22) · Hard
A DHT22 is connected using a long cable, and its data line occasionally stays HIGH or returns corrupted readings. Which hardware change is generally most appropriate?
Not quite. Try another option.
Answer: Use an appropriate pull-up and improve signal wiring
The DHT single-wire data line requires a pull-up. Long cables add capacitance and noise, so suitable pull-up selection, grounding, shielding, and shorter wiring improve signal integrity.
Question 60 of 60 · Temperature sensor (DHT11/DHT22) · Hard
A program requests DHT22 data every 20 ms and receives many invalid results. What is the primary reason?
Not quite. Try another option.
Answer: The sensor has a limited minimum sampling interval
DHT sensors require substantial time between measurements. A DHT22 is commonly limited to about 0.5 Hz, so requests every 20 ms violate its sampling requirement.
That's unit 6
Answer a few questions and your score shows up here.
Nearly through. Did unit 6 of PHY175 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 6 of PHY175 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.