A laboratory logger should produce one record at each scheduled time 0,2,4,6,8,10,120, 2, 4, 6, 8, 10, 120,2,4,6,8,10,12 s, giving seven expected slots. A record matches a slot when its timestamp differs from that scheduled time by at most 0.200.200.20 s, including the boundary. No record can match two slots under this tolerance.
The ten recorded timestamps, in seconds and in record-number order, are:
0.04, 2.08, 2.12, 4.31, 6.03, 6.11, 6.19, 8.06, 12.02, 12.170.04,\ 2.08,\ 2.12,\ 4.31,\ 6.03,\ 6.11,\ 6.19,\ 8.06,\ 12.02,\ 12.170.04, 2.08, 2.12, 4.31, 6.03, 6.11, 6.19, 8.06, 12.02, 12.17.
For this audit, a duplicate record is a second or later record matched to a slot already represented in the log. A missing slot has no matched records. An unmatched record covers no slot and is excluded from the duplicate count.
Determine the number of missing slots, the number of duplicate records, and the number of unmatched records. Give each count as an exact integer.
Unlock full course notes by signing up
Validate Pressure Fields with a Missing-Value Code
A pressure logger stores measurements in kPa. A sentinel is a reserved code representing a missing measurement; this logger uses -999. Validate each raw field using the following rules, stopping as soon as a status is assigned.
Assign missing if the field is empty or contains exactly -999.
Otherwise, assign format if the entire field cannot be read as a finite decimal number. A unit written inside the field is not permitted.
Checking Flow and Level Consistency
An engineering data validation procedure checks independent filling trials in a tank with vertical sides and a uniform horizontal cross-sectional area of 1.50 m21.50\ \text{m}^21.50 m2. During each 15.0 s15.0\ \text{s}15.0 s trial, water enters at a constant 30.0 L/s30.0\ \text{L/s}30.0 L/s and leaves at a constant 10.0 L/s10.0\ \text{L/s}10.0 L/s. Assume incompressible water, no leaks and no other flows.
All recorded levels pass the individual level-range check. A trial passes the additional consistency check only if the absolute difference between the volume change inferred from its levels and the volume change predicted from its flows is at most 0.030 m30.030\ \text{m}^30.030 m3.
Use the supplied values as exact when applying the threshold. Which trials pass both checks?
Detecting a Shared Conversion Error
A pressure sensor's verified calibration is
where VVV is its voltage. Valid operating voltages range from 0.5000.5000.500 to 2.50 V2.50\ \text{V}2.50 V. An import routine mistakenly uses a factor of 100 kPa/V100\ \text{kPa/V}100 kPa/V, then copies each converted result into two archive columns.