Challenge: Batch Process Sensor Data
Oppgave
Swipe to start coding
You are tasked with automating a common engineering workflow: calibrating and filtering sensor data. Given a list of sensor readings, you must apply a calibration formula and filter out readings below a threshold.
- For each value in
sensor_readings, apply the calibration formula: multiply the reading bycalibration_factorand add 2. - Include only calibrated readings that are greater than or equal to the
thresholdin the final result. - Return a list containing the calibrated and filtered readings.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 5
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 4.76
Challenge: Batch Process Sensor Data
Sveip for å vise menyen
Oppgave
Swipe to start coding
You are tasked with automating a common engineering workflow: calibrating and filtering sensor data. Given a list of sensor readings, you must apply a calibration formula and filter out readings below a threshold.
- For each value in
sensor_readings, apply the calibration formula: multiply the reading bycalibration_factorand add 2. - Include only calibrated readings that are greater than or equal to the
thresholdin the final result. - Return a list containing the calibrated and filtered readings.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 5
single