Robotics software engineer: Timing Faults and Recovery
Original technical interviews on clock uncertainty, sample age, pipeline and scheduling bounds, diagnosis, recovery guards, degraded modes, fault containment, and reproducible timing experiments. Explicit finite models separate observed behavior from the guarantees it supports.
These prompts are original practice. They are not questions from a named employer or a live hiring loop.
1.A sensor samples at its clock time 100 ms. At that instant the receiver clock reads sensor time plus an unknown offset in [3,5] ms. The receiver now reads 110 ms. Offsets are constant over this interval, and acceptable age is at most 6 ms. What conclusion follows from these bounds alone?
Show answer and explanation
- Age is in [3,5] ms, so every allowed offset passes
- Age is exactly 10 ms, so the sample is certainly too old
- Age is in [5,7] ms, so acceptability is not established
- Age is at most 5 ms, so the sample is certainly acceptable
Answer: Age is in [5,7] ms, so acceptability is not established
The sample's receiver-clock time lies in [103,105] ms, making its age 110−[103,105]=[5,7] ms. That interval crosses the 6 ms threshold. Unknown offset must not be treated as a known zero offset.
2.After synchronization, a sensor clock's offset is bounded by 0.2 ms. Its rate error is bounded by 30 parts per million relative to an ideal reference. There is no further correction for 20 s. What tight worst-case offset-magnitude bound follows from these two bounds alone?
Show answer and explanation
- 0.6 ms
- 6.2 ms
- 0.8 ms
- 0.2 ms
Answer: 0.8 ms
Thirty parts per million over 20 s permits 0.00003×20 s=0.6 ms of additional offset. Initial error and drift may align, giving 0.2+0.6=0.8 ms. The bound concerns holdover under the declared rate assumption.
3.A rolling-shutter camera reads different image rows at different known times while the robot rotates. Integration assigns the same acquisition time to every row and performs a single-pose geometric correction. What timing effect remains unmodeled?
Show answer and explanation
- Only post-acquisition network delay, which has no row-dependent time
- Motion during the interval between row acquisitions
- Only a common pose offset identical for every acquired row
- A single clock offset that necessarily explains the whole row-dependent motion
Answer: Motion during the interval between row acquisitions
Different rows observe the scene at different poses during rotation. One shared acquisition pose cannot generally correct the row-dependent motion. Transmission delay and a constant clock offset are distinct effects.
4.A task begins at time 0, runs for exactly 3 ms, then sleeps for exactly 10 ms after each completion before beginning again. Ignore scheduling overhead. What start-time sequence results?
Show answer and explanation
- 0,10,20,… ms
- 0,3,6,… ms
- 0,13,26,… ms
- 0,7,14,… ms
Answer: 0,13,26,… ms
Each cycle contains 3 ms of work plus a 10 ms post-completion sleep, so starts are 13 ms apart. This relative-delay loop differs from releases on an absolute 10 ms grid.
5.A producer's consecutive output intervals are bounded by [8,12] ms. A detector alarms when time since the last output is strictly greater than 11 ms. With no losses or failures, can this detector alarm?
Show answer and explanation
- No; any bounded producer interval rules out detector alarms
- Yes; a permitted 12 ms interval exceeds its threshold
- Yes; every permitted interval must exceed 11 ms
- No; the nominal midpoint interval is 10 ms
Answer: Yes; a permitted 12 ms interval exceeds its threshold
A normal interval may last 12 ms. During it the silence can exceed 11 ms before the next output arrives. Comparing the alarm threshold only with the nominal 10 ms period overlooks allowed variation.
6.An event logger rounds timestamps to 1 ms. Two events have the same rounded timestamp and no other ordering evidence. What order can be inferred from that equality alone?
Show answer and explanation
- Neither event order is determined
- The events must be causally unrelated
- They occurred at exactly the same physical instant
- The first record in the exported file necessarily occurred first
Answer: Neither event order is determined
Multiple physical times map to the same quantized timestamp. Equal labels therefore establish neither simultaneity nor an ordering, and they do not exclude a causal relationship inside the quantization interval.
7.A simulated mission explicitly pauses all mission-relative deadlines while simulation time is paused. A one-second mission deadline has 0.4 s remaining when a ten-second real-time pause begins. No simulated time advances. What remaining mission time follows on resume?
Show answer and explanation
- 1 s because every resume resets the deadline
- 10.4 s because pause duration extends the mission timer
- 0 s because ten real seconds elapsed
- 0.4 s
Answer: 0.4 s
The contract measures this deadline in advancing mission time and pauses it with simulation. No mission time elapsed during the pause, so the 0.4 s remainder is preserved. Real-time liveness deadlines could have a different contract.
8.A simulator seeks backward from simulated time 50 s to 10 s. A temporal cache still contains measurements from the old 40–50 s segment, and its entries have no replay-epoch identity. Why can comparing timestamps alone be inadequate after the seek?
Show answer and explanation
- Every old timestamp becomes a valid current-epoch timestamp when the seek finishes
- A larger timestamp always identifies the currently replayed state
- Timestamp values alone identify which replay history produced a record
- Old-epoch records can be mistaken for future or current-run evidence
Answer: Old-epoch records can be mistaken for future or current-run evidence
A seek changes which execution history is active. Numeric time without an epoch or explicit cache reset can mix histories. The cache needs a defined replay transition policy instead of treating the old timeline as the current one.
9.A sensor integrates uniformly from receiver time 20 ms through 28 ms, with perfectly aligned clocks. A consumer approximates this interval measurement by one instant and minimizes the largest absolute timing error to any contributing instant. Which reference instant is optimal?
Show answer and explanation
- 32 ms
- 20 ms
- 24 ms
- 28 ms
Answer: 24 ms
For an interval [20,28], choosing its midpoint 24 makes both extreme errors 4 ms, the smallest possible maximum. This minimax timing approximation does not make the physical measurement instantaneous or remove motion distortion.
10.A two-way clock estimator assumes equal outbound and inbound transport delays. The actual link has unknown persistent asymmetry. Repeating the exchange many times reduces random jitter. What error can remain?
Show answer and explanation
- Only zero-mean random error that necessarily vanishes with averaging
- No clock error, because two-way messages identify both one-way delays exactly
- An offset whose sign is determined solely by the number of repetitions
- A systematic offset bias from the unmodeled delay asymmetry
Answer: A systematic offset bias from the unmodeled delay asymmetry
A two-way exchange combines clock offset and one-way delays. Without an asymmetry model or bound, repeated measurements need not separate a persistent delay imbalance from offset; averaging jitter does not remove that structural bias.
11.Two timestamp readings each have rounding error bounded by ±0.5 ms. Their reported difference is 8 ms. No relationship between rounding errors is known. What tight closed bound follows for the true duration from these error bounds alone?
Show answer and explanation
- [0,8] ms
- [7.5,8.5] ms
- [7,9] ms
- Exactly 8 ms
Answer: [7,9] ms
The difference error is the first rounding error minus the second, so its magnitude can reach 1 ms. Subtracting that error from the reported 8 ms gives [7,9]. Assuming the errors cancel would require additional information.
12.Two onboard clocks agree within 0.01 ms because they follow the same reference. That reference may itself be 100 ms away from the required external time standard. What does their agreement establish?
Show answer and explanation
- That subtracting their readings reveals the common 100 ms offset
- Accuracy within 0.01 ms of the external standard
- Close mutual alignment, without establishing external-time accuracy
- A bound of zero on their shared reference error
Answer: Close mutual alignment, without establishing external-time accuracy
Mutual agreement constrains the clocks relative to one another. A shared reference error can affect both equally and disappear from their difference. External accuracy requires evidence connecting the reference to the external standard.
13.A sample passes through three strictly serial stages with worst-case durations 4, 7 and 5 ms. There is no overlap, queueing or additional transport. What tight worst-case end-to-end duration bound follows from these independent stage bounds alone?
Show answer and explanation
- 7 ms
- 12 ms
- 16 ms
- 35 ms
Answer: 16 ms
Serial stage durations add: 4+7+5=16 ms. With no constraints preventing their maxima from coinciding, this is the tight bound derivable from the supplied independent upper bounds.
14.A pipeline has stages taking exactly 4 ms and 6 ms, each on its own dedicated worker. Samples complete the stages in order. The first sample enters at time 0, inputs can be supplied whenever needed, and transfers take no time. What pair gives first-sample latency and the minimum sustainable output interval?
Show answer and explanation
- 4 ms latency, 10 ms output interval
- 10 ms latency, 6 ms output interval
- 10 ms latency, 10 ms output interval
- 6 ms latency, 6 ms output interval
Answer: 10 ms latency, 6 ms output interval
The first sample takes 4+6=10 ms. With distinct workers, successive samples can overlap; the 6 ms stage limits sustainable output rate. Pipeline throughput and an individual sample's latency are different quantities.
15.A batcher emits a batch as soon as four samples have arrived. Samples arrive at 0, 5, 10 and 15 ms, and emission adds no processing delay. What waiting times do the first and fourth samples experience?
Show answer and explanation
- 15 ms and 0 ms
- 5 ms and 5 ms
- 0 ms and 15 ms
- 20 ms and 5 ms
Answer: 15 ms and 0 ms
The batch is emitted at 15 ms. The first sample waits 15−0=15 ms, while the fourth waits 15−15=0. A batch's single emission time does not imply equal sample ages.
16.A command's inclusive deadline is receiver time 30 ms: completing at or before 30 ms meets it. A trace shows completion exactly at 30 ms. What result follows under this declared rule?
Show answer and explanation
- The deadline is missed because the contract excludes equality
- The deadline is met only if release was exactly at time zero
- The deadline is met
- The result can be inferred only from average execution duration
Answer: The deadline is met
The contract explicitly includes equality, so completion at 30 ms is on time. A strict-before convention would give a different boundary result and should not be silently substituted.
17.A sample is 12 ms old when control computation begins. Computation takes 3 ms and command transport then takes 2 ms, all on one aligned clock. There is no overlap or additional delay. What is the sample age when the actuator receives the command?
Show answer and explanation
- 17 ms
- 10 ms
- 5 ms
- 12 ms
Answer: 17 ms
The sample keeps aging through computation and transport: 12+3+2=17 ms. Measuring only processing latency would omit its age at computation start.
18.A sensor samples periodically every 10 ms. A controller may request the latest sample at any phase; sensor and controller share a clock and delivery is instantaneous. What upper bound can be approached by the age at request, even though transport latency is zero?
Show answer and explanation
- 0 ms
- 10 ms
- 20 ms
- 5 ms
Answer: 10 ms
A request just before the next sample can see a sample almost 10 ms old. Instant delivery removes transport latency but does not remove the phase-dependent age caused by periodic sampling. The bound is approached from below under this model.
19.A benchmark reports a 99th-percentile response time of 8 ms from a finite run. A consumer has a hard 10 ms deadline for every request. What does the benchmark alone establish?
Show answer and explanation
- It does not establish a worst-case response time below 10 ms
- Every possible response completes within 8 ms
- The hard deadline is certified because the percentile lies below it
- At most one response can ever exceed 10 ms
Answer: It does not establish a worst-case response time below 10 ms
A percentile summarizes part of an observed distribution. It does not bound all observations, unobserved workloads or future response times. A hard deadline claim needs evidence appropriate to its worst-case scope.
20.Clock uncertainty places one sensor event in receiver-time interval [10,14] ms and another in [13,17] ms. No other relationship is known. Does the overlap prove that the events occurred simultaneously?
Show answer and explanation
- No; the intervals allow both equal and unequal event times
- Yes; averaging the interval midpoints removes all uncertainty
- Yes; any overlapping uncertainty intervals imply exact simultaneity
- No; the first event must precede the second by exactly 3 ms
Answer: No; the intervals allow both equal and unequal event times
Overlapping bounds permit a common event time, but they also permit distinct choices inside the intervals. Compatibility with simultaneity is weaker than evidence that the events were simultaneous.
21.A pipeline drops queued old samples and retains only the newest before processing. Measured output age decreases, but some input sample IDs never appear at the output. Which interpretation accounts for both observations?
Show answer and explanation
- Lower age proves every input sample was processed faster
- Missing output IDs necessarily indicate a clock synchronization fault
- Retaining only the newest improves age without affecting sample completeness
- Lower output age was achieved with sample loss
Answer: Lower output age was achieved with sample loss
Discarding queued work can reduce how old the selected samples are while reducing completeness. Report both age and loss; a latency improvement does not by itself establish a lossless or higher-throughput pipeline.
22.A relay republishes a cached sensor value every 5 ms and replaces its acquisition timestamp with the current relay time. The sensor stops taking new measurements. A consumer checks freshness using the replacement timestamp. What fault can this hide?
Show answer and explanation
- Every relay update proves a new physical measurement occurred
- The acquisition time remains recoverable from the publication period alone
- A fast relay period guarantees low measurement age
- Old measurements can appear newly acquired indefinitely
Answer: Old measurements can appear newly acquired indefinitely
Publication is a new transport event, not a new observation. Overwriting acquisition time can make a stale physical value satisfy a timestamp-based freshness check. Preserve measurement time separately from relay activity.
23.A velocity estimator divides a position difference by the difference of two rounded timestamps. The position difference is nonzero, but both rounded timestamps are equal. What handling is justified by the supplied data?
Show answer and explanation
- Substitute the nominal period without any timing assumption
- Use an infinite result as a valid finite-difference velocity
- Reject or defer this division because its represented time interval is zero
- Infer zero velocity because the time labels are equal
Answer: Reject or defer this division because its represented time interval is zero
The represented denominator is zero, so the finite-difference velocity is undefined from these labels. Higher-resolution timing or a justified accumulation/model policy is needed; timestamp equality does not imply zero physical displacement.
24.A serial response-time budget has 4 ms computation and 3 ms transport upper bounds, plus up to 5 ms of waiting before computation. All three maxima may coincide. The hard end-to-end limit is 10 ms. Do these bounds certify it?
Show answer and explanation
- Yes; computation plus transport is only 7 ms
- No; the allowed serial total reaches 12 ms
- Yes; queue wait is excluded from every end-to-end deadline
- No; every execution must last exactly 12 ms
Answer: No; the allowed serial total reaches 12 ms
The permitted serial total is 5+4+3=12 ms. Ignoring pre-computation wait understates end-to-end delay. Because the maxima may coincide, the bounds do not certify 10 ms; this does not mean every execution takes 12 ms.
25.On one preemptive processor, low-priority job L releases at 0 and needs 5 ms. Higher-priority H releases at 2 ms and needs 2 ms. There are no other jobs or overheads. L's inclusive deadline is 6 ms. When does L complete, and is its deadline met?
Show answer and explanation
- 7 ms; missed
- 4 ms; met
- 6 ms; met
- 5 ms; met
Answer: 7 ms; missed
L executes during [0,2), H preempts during [2,4), and L finishes its remaining 3 ms during [4,7). Completion at 7 exceeds L's deadline 6 despite only 5 ms of its own execution.
26.A nonpreemptive processor starts an 8 ms job at time 0. An urgent 1 ms job releases at time 1 with absolute deadline 4. No other jobs exist. Can giving the urgent job the highest queue priority make it meet that deadline?
Show answer and explanation
- Yes; it finishes at time 2 regardless of the current job
- No; it cannot begin until time 8 and finishes at 9
- Yes; queue priority interrupts a nonpreemptive job immediately
- No; its own execution time exceeds its relative deadline
Answer: No; it cannot begin until time 8 and finishes at 9
The running job cannot be interrupted under this model. Queue priority matters only when choosing the next job. The urgent job's wait, not its 1 ms computation alone, causes the deadline miss.
27.A low-priority task holds a mutex needed by a high-priority task. A medium-priority CPU-bound task can otherwise preempt the holder. What does priority inheritance directly address in this situation?
Show answer and explanation
- Every deadlock involving any other mutex
- The medium task's preemption of the mutex holder while it blocks the high-priority task
- The high-priority task's own computation time
- All time spent inside the holder's critical section
Answer: The medium task's preemption of the mutex holder while it blocks the high-priority task
Inheriting the blocked task's priority lets the holder run ahead of the medium task and release the mutex. It does not remove the critical-section work, establish arbitrary deadlock freedom or eliminate the requester's execution demand.
28.A periodic task needs 3 ms of nonparallel execution every 10 ms, has a relative deadline of 2 ms, and runs alone on one processor. Does its 30% utilization establish deadline feasibility?
Show answer and explanation
- No; its utilization is greater than 100%
- Yes; an average of 7 idle milliseconds compensates for each late job
- No; each job needs more execution time than its own deadline permits
- Yes; any utilization below 100% meets every deadline
Answer: No; each job needs more execution time than its own deadline permits
Even with immediate service, 3 ms of computation cannot finish within a 2 ms window on this processor. Average demand over the period does not replace a per-job deadline check.
29.A job performs 1 ms of computation, waits exactly 10 ms for an unavailable external resource, then computes for 1 ms. Its deadline is 8 ms after release, with immediate CPU service whenever ready. What does the timeline imply?
Show answer and explanation
- The earliest completion is 12 ms, so the deadline is missed
- The job meets the deadline because total CPU execution is 2 ms
- The external wait is irrelevant because the processor is idle
- The earliest completion is 10 ms because computation overlaps both waits
Answer: The earliest completion is 12 ms, so the deadline is missed
The stated sequence is serial: 1+10+1=12 ms. CPU utilization alone omits suspension on external resources, which dominates this response time even with no competing CPU jobs.
30.A job's nominal release is 10 ms, actual release is bounded by [10,13] ms, and execution needs at most 4 ms with immediate service. Its absolute inclusive deadline stays fixed at 17 ms. What tight latest completion bound follows?
Show answer and explanation
- 21 ms
- 14 ms
- 17 ms
- 7 ms
Answer: 17 ms
The latest allowed release is 13, followed by up to 4 ms of execution, giving 17. Under the supplied no-wait model this meets the inclusive deadline, but adds no slack at the worst-case release.
31.A timing proof reserves 2 ms for a control callback. An execution takes 3 ms, and the system has no mechanism enforcing the assumed budget. Which conclusion follows about the proof for that execution?
Show answer and explanation
- Its callback execution-time assumption is violated
- The reservation automatically expands without changing interference on other tasks
- The observation establishes 3 ms as a proven bound for all future callbacks
- The proof remains valid because the callback eventually returns
Answer: Its callback execution-time assumption is violated
A proof conditional on a 2 ms bound does not cover an observed 3 ms execution. Updating the bound requires reassessing affected timing guarantees; completion alone does not preserve the original assumptions.
32.Two independent jobs release at time 0 on one preemptive processor. A needs 4 ms with absolute deadline 5; B needs 1 ms with deadline 2. Earliest-deadline-first runs the ready job with the nearest deadline. Equality meets each deadline. With zero overhead, what schedule results?
Show answer and explanation
- B during [0,1), then A during [1,5); A misses deadline 5
- A during [0,4), then B during [4,5); both meet deadlines
- A and B both execute simultaneously on the one processor
- B during [0,1), then A during [1,5); both meet deadlines
Answer: B during [0,1), then A during [1,5); both meet deadlines
B's deadline 2 precedes A's 5, so B runs first and completes at 1. A then runs for 4 ms and completes exactly at its inclusive deadline 5. The specified processor cannot execute both at once.
33.Jobs arrive at times 0,4,8,12,16 ms, each requiring 5 ms on one continuously available work-conserving processor. There is no overhead and no other work. At time 20, before any further arrivals, what total unfinished execution demand remains?
Show answer and explanation
- 5 ms
- 0 ms
- 1 ms
- 25 ms
Answer: 5 ms
The five arrivals bring 25 ms of work. The processor is busy throughout [0,20), completing 20 ms, leaving 5 ms. A queue can accumulate despite every individual job having finite execution time.
34.Two jobs both release at 0 and must finish by inclusive time 5. Each needs 3 ms of execution on the same unit-speed processor. There are no overheads or dependencies. Can any schedule meet both deadlines?
Show answer and explanation
- Yes; preemption creates another millisecond of processor capacity
- Yes; serving the shorter remaining job first always makes every job feasible
- No; 6 ms of required execution cannot fit into 5 ms
- No; simultaneous releases are forbidden by the stated model
Answer: No; 6 ms of required execution cannot fit into 5 ms
All 6 ms of demand must fit inside [0,5]. A processor supplies only 5 ms of execution in that interval. Reordering or preempting cannot overcome this necessary capacity constraint.
35.A recorded schedule contains 6 ms of useful execution and eight context switches. Every switch costs exactly 0.25 ms, and none overlaps useful execution. There is no idle time or other overhead. What total elapsed time follows?
Show answer and explanation
- 6.25 ms
- 8 ms
- 6 ms
- 10 ms
Answer: 8 ms
Switch overhead is 8×0.25=2 ms. Adding the nonoverlapping 6 ms of useful work gives 8 ms. An analysis that omits these switches understates elapsed time.
36.A periodic controller resumes at time 35 after missing scheduled releases at 10,20,30. Its explicit overrun policy skips missed releases and schedules the next release on the original 10 ms grid. What is the next scheduled release?
Show answer and explanation
- 30, because the last missed release remains in the past
- 45, because every resume resets the phase
- 40
- 35, then immediate replay of all missed releases
Answer: 40
Under skip-and-preserve-phase semantics, releases remain multiples of 10 and missed jobs are not replayed. The first future grid point after 35 is 40. Catch-up and phase-reset policies would have different behavior.
37.A command is received at time 18 and queued until execution at time 24 on the same clock. Its authorization expires at time 20, and the contract requires authorization to be valid when execution starts. What should execution do?
Show answer and explanation
- Execute because queue admission permanently extends authorization
- Execute because authorization was valid at receipt
- Reset the expiration relative to dequeue without a new grant
- Reject the expired authorization at execution time
Answer: Reject the expired authorization at execution time
The specified validity check applies when the physical action begins. Receipt at 18 does not authorize an action starting after expiration at 20. The queue must not silently extend the authorization window.
38.A fused estimate carries the newer of its two input timestamps. Inputs were acquired at times 10 and 18; current time is 20. A contract requires every contributing input to be at most 5 units old. Can the estimate's timestamp alone certify this?
Show answer and explanation
- No; the time-10 input is 10 units old despite the fused timestamp of 18
- Yes; the newest input's age of 2 bounds every input's age
- Yes; averaging the two timestamps always satisfies the age limit
- No; both inputs are more than 5 units old
Answer: No; the time-10 input is 10 units old despite the fused timestamp of 18
The time-18 input has age 2, but the time-10 input has age 10. A newest-input label hides the older contributor. A contract covering every contributor needs their validity evidence or a summary that preserves the required oldest-input bound.
39.Two sensor samples have acquisition times 10 and 18 ms on an aligned clock. A fusion contract permits pairs only when acquisition skew is at most 5 ms. They arrive together at time 20. Are they an admissible pair?
Show answer and explanation
- Yes; their average acquisition time is below 20 ms
- No; acquisition skew is 8 ms
- Yes; simultaneous receipt makes acquisition skew zero
- No; equal receipt time violates the clock-alignment assumption
Answer: No; acquisition skew is 8 ms
The relevant skew is the difference between acquisitions, 18−10=8 ms. Equal arrival time does not change when the sensors observed the scene. The pair violates the declared 5 ms limit.
40.A pose buffer contains valid samples only at times 10 and 20. It supports interpolation inside their interval but provides no motion model for extrapolation. A consumer requests a pose at 25. What can the buffer's interpolation contract establish?
Show answer and explanation
- The interpolation guarantee extends to all future times automatically
- The midpoint of the two samples is the correct time-25 pose
- No pose at 25 is certified by that interpolation contract
- The time-20 pose is exactly the time-25 pose
Answer: No pose at 25 is certified by that interpolation contract
Time 25 lies outside [10,20]. Interpolation coverage does not justify extrapolation beyond the observed interval. A separate model and validity policy would be needed for a supported estimate there.
41.A command trajectory is defined for t∈[0,5] s and includes position, velocity and acceleration constraints on that interval. Execution is delayed until t=6 without regenerating the trajectory or redefining its time origin. What is missing?
Show answer and explanation
- Only a valid initial pose at the original start time
- Nothing, because a trajectory's finite time domain never limits later execution
- Only an additional interpolation point inside [0,5]
- A valid command specification covering the actual execution time
Answer: A valid command specification covering the actual execution time
The supplied time-indexed specification ends at 5. Executing at 6 is outside its declared domain. Holding, rescheduling or regenerating could be policies, but none is supplied by the original trajectory alone.
42.A derivative estimator assumes samples are 0.01 s apart and divides every position increment by 0.01. Actual acquisition intervals sometimes become 0.02 s. For constant true velocity, what error does that substitution produce on those intervals?
Show answer and explanation
- The exact true velocity because sampling rate does not affect differences
- Zero velocity whenever a sample is delayed
- Half the true velocity estimate
- Twice the true velocity estimate
Answer: Twice the true velocity estimate
At true velocity v, the increment over 0.02 s is 0.02v. Dividing it by the assumed 0.01 gives 2v. Use the relevant acquisition interval or explicitly handle missing samples instead of silently assuming a fixed interval.
43.A hardware timestamp counts milliseconds modulo 256. The previous reading is 250 and the next is 14. It is known that the true forward interval is nonnegative and strictly less than 256 ms. What interval is uniquely consistent with the readings?
Show answer and explanation
- 270 ms
- 20 ms
- 236 ms
- −236 ms
Answer: 20 ms
The modular difference is (14−250) mod 256=20. Without the less-than-one-wrap assumption, 276 ms and larger intervals could produce the same readings. The declared bound makes 20 unique.
44.A reboot resets an actuator's integer millisecond timestamp to zero. A host retains the last timestamp from before reboot and treats numeric differences across reboot as elapsed time. What boundary assumption is broken?
Show answer and explanation
- That each reading is expressed in milliseconds
- That the host retained the earlier numeric reading
- That both timestamps belong to one continuous clock epoch
- That the readings can be stored as integers
Answer: That both timestamps belong to one continuous clock epoch
Resetting the counter creates a new epoch. Subtracting its readings from pre-reset values does not yield a valid elapsed interval without a defined cross-epoch mapping. The host must recognize the reboot or reset its temporal state.
45.A sensor's worst-case acquisition-to-controller age is 40 ms. A motion model bounds speed by 2 m/s throughout that age interval. Ignoring every other error, what tight maximum displacement since acquisition follows from these bounds alone?
Show answer and explanation
- 0.8 m
- 0.04 m
- 0.08 m
- 0.02 m
Answer: 0.08 m
Distance traveled is at most speed bound times elapsed time: 2×0.040=0.08 m. This bound concerns motion since the sample, not transport latency alone or the full state-estimation error.
46.A feedback controller was validated only for delays up to 5 ms. A configuration change permits delays up to 12 ms while leaving controller gains unchanged. What does the previous validation cover?
Show answer and explanation
- It automatically extends to 12 ms by scaling timestamps
- It does not establish behavior for the newly allowed 5–12 ms range
- It proves the larger-delay system remains stable because the code is identical
- It proves every run with delay above 5 ms becomes unstable
Answer: It does not establish behavior for the newly allowed 5–12 ms range
The controller's validated delay domain has changed. Outside that domain, stability or tracking claims need new analysis or evidence. The old result neither establishes success nor proves inevitable failure at larger delays.
47.A recovery supervisor receives a state estimate stamped 100 ms in the future relative to its clock, although the interface permits at most ±2 ms alignment error. Should it silently clamp the age to zero and treat the estimate as current?
Show answer and explanation
- No; the timestamp violates the declared alignment assumptions and needs explicit handling
- Yes; every negative age represents the freshest possible observation
- Yes; clamping proves the clocks actually agree within 2 ms
- No; a future timestamp proves the observation is exactly 100 ms old
Answer: No; the timestamp violates the declared alignment assumptions and needs explicit handling
The observed discrepancy exceeds the allowed clock relation. Zero-clamping would conceal that contract violation and assign unwarranted freshness. The fault policy should handle the inconsistent timestamp rather than infer its true age.
48.An ideal scalar model is x(t)=t. A noiseless measurement z=3 is acquired at time 3 and arrives at 8. The prediction also equals t. Define innovation as z minus the prediction at the measurement's acquisition time. What innovation follows?
Show answer and explanation
- −5
- 0
- 5
- 3
Answer: 0
At acquisition time 3, the prediction is x(3)=3, so z−x(3)=0. Comparing z with the current prediction x(8)=8 instead gives −5 and would confuse measurement delay with a state-estimation discrepancy.
49.A monitor alarms when commanded wheel motion occurs without encoder increments. A wheel turns while its encoder signal is frozen. An identical monitor reads only the same encoder stream on a second process. What does that duplication fail to provide?
Show answer and explanation
- A second software execution of the same encoder-based rule
- Independent evidence that can distinguish encoder failure from absent wheel motion
- The ability to produce matching alarm decisions from matching input streams
- Any ability to detect absent encoder increments under a motion command
Answer: Independent evidence that can distinguish encoder failure from absent wheel motion
Both monitors depend on the same failed observation. Replicating the rule can improve process redundancy but does not add an independent measurement of wheel motion or distinguish the two physical explanations.
50.An obstacle detector is evaluated on 80 obstacle-present scenes and misses 12. What fraction of these positive scenes are false negatives?
Show answer and explanation
- 85%
- 15%
- 12%
- 6.7%
Answer: 15%
False negatives are missed positives. The supplied denominator is 80 obstacle-present scenes, so the fraction is 12/80=0.15=15%. This does not determine a false-alarm rate on obstacle-absent scenes.
51.A fault monitor is observed for 100 fault-free operating hours and issues three false alarms. What empirical rate is directly supported by this observation?
Show answer and explanation
- A deterministic maximum of three false alarms in every future 100 hours
- 0.03 false alarms per operating hour
- A 97% fraction of true faults among all future alarms
- A 3% probability that any individual component is faulty
Answer: 0.03 false alarms per operating hour
The observed count per fault-free exposure is 3/100=0.03 per hour. It does not establish a future deterministic bound or an alarm's positive predictive value without fault prevalence and detection information.
52.A detector polls at times 0,10,20,… ms and detects a persistent fault on its first poll after onset. Polling and detection are instantaneous. A fault begins at 10.1 ms. When is it detected?
Show answer and explanation
- 10 ms, before its onset
- 20 ms, after 9.9 ms
- 30 ms, after 19.9 ms
- 10.1 ms, with zero delay
Answer: 20 ms, after 9.9 ms
The poll at 10 precedes onset. The next poll is at 20, so detection delay is 20−10.1=9.9 ms. Instantaneous checks do not remove the waiting caused by polling phase.
53.A transient fault begins at time 2 and ends at 4 ms. A detector samples only at 0 and 10 ms and has no latched evidence or event recording. What can those two normal samples establish about the transient?
Show answer and explanation
- They prove no fault occurred during [0,10]
- They do not exclude the intervening fault
- They prove faults shorter than 10 ms are always captured
- They identify the transient's onset exactly from the zero samples
Answer: They do not exclude the intervening fault
Normal observations at two instants do not cover the unobserved interval. A transient can begin and end between samples. Capturing it requires suitable persistence, latching, sampling or other evidence.
54.A command-response monitor can distinguish a stuck actuator only while a nonzero motion command is applied. The robot remains idle and its actuator state is constant. What diagnostic conclusion follows from that idle trace alone?
Show answer and explanation
- Absence of an alarm proves nonzero motion was tested
- A constant idle state proves the actuator is stuck
- The trace does not exercise the condition needed to detect this fault
- The actuator is proved responsive to every possible future command
Answer: The trace does not exercise the condition needed to detect this fault
The monitor needs excitation that makes healthy and stuck behavior observably different. An idle trace can be consistent with both, so a no-alarm result does not establish actuator responsiveness.
55.A monitor compares two sensors against each other but has no external reference. Both sensors acquire the same additive bias. What fault can evade their difference check?
Show answer and explanation
- A bias present only on one sensor and larger than the difference threshold
- A sensor disagreement that exceeds the configured threshold
- A missing message explicitly checked by the monitor
- A common bias that cancels in the sensor difference
Answer: A common bias that cancels in the sensor difference
If both values gain the same bias b, their difference remains (x+b)−(y+b)=x−y. Agreement alone cannot detect a common-mode shift. Independent references or other physical constraints may be needed.
56.A detector's alarm threshold is lowered while its score distributions and data remain unchanged. It alarms whenever score≥threshold. Which set relation must hold?
Show answer and explanation
- Every previously alarming observation still alarms
- The number of detected positive observations must decrease
- All observations added to the alarm set must be true faults
- Every previous false alarm is removed
Answer: Every previously alarming observation still alarms
Lowering the threshold expands or preserves the alarm set. It may add detections and false alarms; their truth labels determine which. The monotonic set relation does not itself establish improved precision.
57.A trace records command creation, queue admission and acknowledgment, but no actuator motion measurement. The acknowledgment contract means only that the command was queued. What outcome remains unverified?
Show answer and explanation
- Delivery of the queue acknowledgment
- Creation of the command message
- Admission of the command to the queue
- Physical execution of the commanded motion
Answer: Physical execution of the commanded motion
The trace documents the software events specified by the acknowledgment. It does not observe actuator execution. Treating admission as motion would assign an unsupported meaning to the interface response.
58.A diagnostic considers exactly two noiseless fault models under a drive test. Frozen-encoder model A predicts encoder=0 and current=2 A; jammed-shaft model B predicts encoder=0 and current=8 A. The test observes encoder=0 and current=8 A. Which model matches both observations?
Show answer and explanation
- B only
- Neither A nor B
- A only
- Both A and B
Answer: B only
The encoder observation alone fits both models, but the current observation equals B's 8 A and differs from A's 2 A. B is the sole match within this explicitly limited model set; unmodeled physical causes are not ruled out.
59.A monitor detects a fault at time 8 ms. Fault containment completes at 13 ms, measured on the same clock. The requirement bounds containment after detection by 4 ms. Is that requirement met?
Show answer and explanation
- No; the requirement constrains absolute containment time to less than 4
- Yes; the bound excludes the final millisecond by definition
- No; the detection-to-containment interval is 5 ms
- Yes; containment completion is later than detection
Answer: No; the detection-to-containment interval is 5 ms
The measured interval is 13−8=5 ms, above the 4 ms bound. This requirement starts at detection; it is distinct from a bound measured from fault onset or system boot.
60.In a fixed labeled evaluation, 100 cases contain a fault and 9,900 do not. A detector alarms on 90 fault cases and 495 fault-free cases. Among all emitted alarms, what fraction are true faults, approximately?
Show answer and explanation
- 15.4%
- 95%
- 90%
- 1%
Answer: 15.4%
There are 90+495=585 alarms, of which 90 are true faults. The fraction is 90/585=2/13≈15.4%. The 90% detection rate among fault cases is a different conditional quantity.
61.A recovery machine has states FAULTED, SELF_TEST and READY. Its only route to READY from FAULTED requires SELF_TEST to pass. A process restarts successfully but SELF_TEST has not run. What state claim is justified?
Show answer and explanation
- READY, because process startup implies every self-test passed
- SELF_TEST passed, because no new error was logged
- READY, because faults cannot persist across a process restart
- A restart alone does not establish READY
Answer: A restart alone does not establish READY
The state transition requires explicit self-test evidence. Starting a process does not supply that evidence or erase a persistent physical fault. The machine must honor its readiness guard.
62.Restarting a sensor driver preserves its calibration only if the sensor's mount is unchanged. Maintenance moves the mount before restart. What must recovery reassess?
Show answer and explanation
- The calibration's validity for the changed mounting geometry
- Only whether the unchanged driver executable starts
- Nothing, because geometric calibration survives every physical remount
- Only whether the sensor retains its serial number
Answer: The calibration's validity for the changed mounting geometry
The mounting assumption changed. An unchanged driver or device identity does not establish that the old geometric calibration remains valid. Recovery must check or renew the relevant calibration before relying on it.
63.After a controller crashes, an actuator may still hold its last command. The restart routine initializes its internal desired command to zero but sends no output and reads no actuator state. What remains unreconciled?
Show answer and explanation
- Setting a software variable necessarily changes the actuator output
- The new process's empty memory proves no old command can persist
- The crash proves the actuator already applied zero command
- The physical actuator command may differ from the controller's initialized state
Answer: The physical actuator command may differ from the controller's initialized state
Internal initialization is not an actuator action. Recovery must use the interface's actual output/state semantics to reconcile retained physical state; it cannot infer that changing memory changes hardware.
64.A recovery supervisor can restart B only after A is READY. It restarts A and B concurrently, and B fails because A is still initializing. What requirement was violated?
Show answer and explanation
- The assumption that concurrent startup always takes longer than serial startup
- The requirement that B initialize before A
- The startup dependency ordering
- The requirement that process identifiers be allocated serially
Answer: The startup dependency ordering
The declared guard is A READY before B restart. Launching both together does not satisfy that guard. Recovery should observe the readiness transition before invoking the dependent action.
65.A fault cause persists. Restarting clears its alarm latch temporarily, but the same alarm reappears on each self-test. What does the repeated restart establish?
Show answer and explanation
- The recovery action has not removed the tested fault condition
- The physical cause was repaired once the latch cleared
- Each self-test failure must be an unrelated new fault
- Restart count alone proves the next attempt will succeed
Answer: The recovery action has not removed the tested fault condition
Clearing a latched report differs from removing the condition that triggers it. Repeated failure on the same relevant test is evidence against recovery success, not evidence that temporary alarm absence repaired the cause.
66.A recovery policy allows automatic reactivation only after operator clearance AND a passed brake test. Operator clearance is present, but the brake test fails. Is automatic reactivation authorized?
Show answer and explanation
- No; operator clearance is missing
- Yes; operator clearance alone overrides the conjunction
- Yes; any attempted test satisfies the passed-test condition
- No; the brake-test guard is false
Answer: No; the brake-test guard is false
The guard requires both facts. Clearance does not turn a failed test into a pass. The policy needs an explicitly different override rule if such an action is to be authorized.
67.A controller restores a saved mission checkpoint at step 4, but a physical transfer may have completed step 5 before the crash. Repeating step 5 could move another object. What recovery information is needed?
Show answer and explanation
- Only the restart count as evidence that step 5 has not happened
- Only the checkpoint file's modification time, regardless of the physical action
- A rule that restoring step 4 establishes that step 5 never physically occurred
- Evidence reconciling the physical transfer with the restored logical step
Answer: Evidence reconciling the physical transfer with the restored logical step
A persisted software step can lag a real action. Recovery needs to establish whether the transfer occurred before deciding whether to repeat it. Blind replay can duplicate a physical effect even with a valid checkpoint file.
68.A recovery maneuver backs up 0.5 m. Its precondition requires that rear region to be observed clear. The rear sensor has failed and no substitute observation exists. What follows under this policy?
Show answer and explanation
- The maneuver is authorized because recovery actions have no preconditions
- The maneuver's clearance precondition is not established
- A forward-facing sensor necessarily observes the complete rear region
- The rear region becomes clear because the sensor is unavailable
Answer: The maneuver's clearance precondition is not established
The same fault can remove evidence needed by a recovery maneuver. Recovery status does not waive an explicit clearance condition. Use an admissible alternative or report the unsatisfied precondition.
69.A recovery procedure stores the original fault code, action results and test outcomes. A revised procedure overwrites the original fault code with OK immediately after restart, before validation. What evidence can it destroy?
Show answer and explanation
- Evidence that the replacement process started
- The new process's ability to write a status message
- The initiating failure information needed to explain an unsuccessful recovery
- Evidence of a successful physical repair, which overwriting the latch itself proves
Answer: The initiating failure information needed to explain an unsuccessful recovery
Replacing the initiating fault with OK before validation can erase causal context and misstate recovery status. Keep the fault history and report the actual stage and test result rather than converting restart into success.
70.An initialization routine begins under configuration C1. Configuration changes to C2 before it completes, but its completion report does not identify which configuration was tested. What readiness claim is missing evidence?
Show answer and explanation
- That a completion message was emitted
- That C1 and C2 have different identifiers
- That some initialization code was invoked
- That the active C2 configuration has passed initialization
Answer: That the active C2 configuration has passed initialization
Successful work for an unspecified or old configuration does not certify the active one. Binding readiness evidence to the relevant configuration prevents treating a stale initialization result as current validation.
71.A recovery plan repeatedly resets a network interface while an independent power monitor reports undervoltage. No measurement links the interface to the voltage fault. What diagnostic step is most useful before repeating the same reset?
Show answer and explanation
- Increase reset frequency as proof that undervoltage has been removed
- Test the power-related hypothesis with relevant supply and load evidence
- Treat a successful reset syscall as confirmation of power recovery
- Declare the voltage report irrelevant because the interface can be reset
Answer: Test the power-related hypothesis with relevant supply and load evidence
A successful software reset does not address an unsupported assumption about the fault cause. A controlled check of supply/load behavior can discriminate a power problem from an interface-only problem and guide a relevant recovery action.
72.Recovery retries can each consume at most 2 s. The policy permits three retries, performed serially, and adds at most 1 s of validation after the last retry. Ignore all other delays. What tight total upper bound follows?
Show answer and explanation
- 7 s
- 3 s
- 6 s
- 9 s
Answer: 7 s
The three serial retries consume at most 3×2=6 s, plus at most 1 s of final validation, totaling 7 s. Counting only retries would omit part of the specified recovery procedure.
73.Normal mode permits actions {drive, dock, inspect}; degraded mode permits only {inspect}. After a fault, the supervisor enters degraded mode but keeps a queued drive action. What must the action dispatcher enforce?
Show answer and explanation
- The union of every action permitted by any available mode
- The queued action's presence as sufficient authorization
- The active mode's permitted-action set before dispatch
- The action set from the time the mission was created only
Answer: The active mode's permitted-action set before dispatch
Changing mode changes the admissible actions. Retaining an old queue entry does not authorize it in the new mode. Dispatch must honor the active contract, including any required cancellation or rejection policy.
74.A degraded mode disables global navigation but retains stationary inspection. A test confirms inspection works with the base immobilized. What capability does this evidence support?
Show answer and explanation
- A proof that every disabled subsystem is healthy
- Unrestricted driving under every localization fault
- Full normal-mode mission completion
- Stationary inspection under the tested degraded conditions
Answer: Stationary inspection under the tested degraded conditions
Evidence for a retained degraded function does not establish removed functions or normal operation. State the tested capability and its conditions rather than treating partial service as full recovery.
75.A shared power supply feeds the primary controller and its nominally redundant backup. Both stop during a supply outage. What independence assumption fails?
Show answer and explanation
- The controllers do not have independent power-failure exposure
- A backup can never improve availability for any fault
- Different processor serial numbers imply separate power domains
- The two processes must contain identical software bugs
Answer: The controllers do not have independent power-failure exposure
Redundancy against controller-local failures does not protect against a shared supply failure. The common power path is an explicit common-cause dependency that remains even with distinct processors.
76.A failing perception process can allocate unbounded memory from the same unrestricted pool as control. Restarting perception is the only containment action. What resource-isolation gap remains before restart takes effect?
Show answer and explanation
- Allocating distinct virtual addresses makes an unrestricted shared pool inexhaustible
- Restarting perception guarantees that no memory exhaustion can occur beforehand
- Separate process identifiers guarantee bounded impact on a shared pool
- Perception can exhaust memory needed by control
Answer: Perception can exhaust memory needed by control
Process separation alone does not impose a shared resource budget. Before recovery completes, the faulty component can consume memory required elsewhere. Appropriate bounds or isolation must be part of the containment argument.
77.A brownout resets a controller but leaves an actuator powered. The actuator retains its last output until explicitly changed. What restart assumption is unsafe under this stated device behavior?
Show answer and explanation
- Assuming controller memory may need reinitialization
- Treating actuator power as a separate state from controller boot
- Checking the actuator's retained state before re-enabling commands
- Assuming the reset also cleared the actuator output
Answer: Assuming the reset also cleared the actuator output
The supplied actuator retains output across the controller reset. Inferring a cleared output would contradict that behavior. Recovery must reconcile or explicitly change it according to the device contract before relying on a reset state.
78.A shutdown routine writes a recovery marker after cutting the power required for that write. No backup power or durable earlier copy exists. What ordering defect follows?
Show answer and explanation
- The marker is durable once its write statement is present in source code
- Power removal guarantees the subsequent persistence operation completes atomically
- The marker is not guaranteed to become durable before power is lost
- A longer software delay after the power cut supplies energy for the write
Answer: The marker is not guaranteed to become durable before power is lost
A required persistence operation must complete under conditions that permit it. Ordering the power cut first removes that assumption. A source-level write after power loss does not establish a durable recovery record.
79.An alarm is OFF initially. On each sample it turns ON at value≥10, turns OFF at value≤7, and otherwise retains state. For samples 11,9,8,6, what alarm-state sequence follows?
Show answer and explanation
- ON,OFF,OFF,OFF
- ON,ON,OFF,OFF
- ON,ON,ON,OFF
- OFF,OFF,OFF,OFF
Answer: ON,ON,ON,OFF
The first value crosses the ON threshold. Values 9 and 8 lie in the retention band, so the alarm stays ON. Value 6 crosses the OFF threshold. Separate thresholds prevent treating every small reversal as an alarm reset.
80.A manual-control mode requires exclusive command authority. The handover leaves both the autonomous planner and operator interface authorized to send actuator commands. Which property is violated?
Show answer and explanation
- Exclusive command ownership during manual control
- The requirement that manual mode suppress every operator command
- The assumption that simultaneous authorized sources must request identical motion
- The requirement that both sources use identical numeric units only
Answer: Exclusive command ownership during manual control
The supplied mode contract permits one command authority, while the handover leaves two. Validity requires a defined authority transition and enforcement, not an assumption that simultaneous sources will agree.
81.A fault-response policy chooses an action whose preconditions require a functioning brake. The diagnosed fault is loss of braking, and no alternate brake is available. What must response selection account for?
Show answer and explanation
- The diagnosed fault invalidates the proposed action's brake precondition
- A fault-response label guarantees the action's preconditions
- The action is admissible whenever its software routine can be called
- The brake is functioning because the action requires it
Answer: The diagnosed fault invalidates the proposed action's brake precondition
A recovery or containment action can depend on a capability removed by the fault itself. Selection must evaluate those preconditions under the faulted state rather than carry over nominal assumptions.
82.A degraded navigation mode permits speed≤0.3 m/s. A route produced before the mode change commands 0.8 m/s, and no downstream limiter exists. What integration step is required by this speed contract?
Show answer and explanation
- Check only whether its first waypoint is reachable
- Replace or reject commands that exceed the active mode's limit
- Reuse the route because its geometry has not changed
- Treat the old route's speed as an automatic mode override
Answer: Replace or reject commands that exceed the active mode's limit
The mode constrains commands as well as available functions. An unchanged geometric route can still violate the active speed limit. Enforcement must affect the commands that reach execution.
83.A backup sensor transmits one measurement per second. A degraded function requires a new measurement at least every 0.2 s; buffering or replay cannot count as new acquisition. The backup is powered and calibrated. Does it satisfy this input-rate contract?
Show answer and explanation
- No; its 1 s acquisition interval exceeds 0.2 s
- Yes; power and calibration imply adequate acquisition rate
- Yes; republishing each measurement five times supplies five new acquisitions
- No; calibration is necessarily absent at a lower sample rate
Answer: No; its 1 s acquisition interval exceeds 0.2 s
Availability and calibration do not establish the required update rate. One new sample per second leaves a 1 s interval, which exceeds the 0.2 s limit. Replaying the same measurement does not create new sensor evidence.
84.A system stores
last_known_mode=NORMAL. After a crash, the physical fault status is unknown. Its contract requires a fresh fault check before enabling normal-mode actuators. Can restoring the saved mode alone authorize them?Show answer and explanation
- No; the fresh-check condition remains unsatisfied
- No; NORMAL is prohibited even after a successful fresh check
- Yes; persistence turns an old mode value into current fault evidence
- Yes; the most recent stored mode overrides every boot guard
Answer: No; the fresh-check condition remains unsatisfied
A saved mode is historical state. The explicit boot-time guard requires new evidence about the current system. Recovery must perform that check before applying normal-mode authorization.
85.A timing fault test injects 15 ms delay only into log writing, while the suspected failure depends on delayed sensor delivery. The test passes. What does it leave untested?
Show answer and explanation
- Whether the test process reached its pass condition
- Every possible timing behavior of the logging subsystem
- Whether any log-writing delay was injected
- The sensor-delivery delay fault at the relevant interface
Answer: The sensor-delivery delay fault at the relevant interface
A fault injection must reach the dependency involved in the claim. Delaying a different path does not exercise the sensor-delay mechanism merely because both delays use milliseconds.
86.A deterministic test has fault onset at 5 ms and recovery completion at 12 ms. The oracle requires recovery within 6 ms of onset, with equality accepted. What is the expected result?
Show answer and explanation
- Fail; recovery took 7 ms
- Pass; 12−5=6 ms
- Fail; every recovery after onset is too late
- Pass; recovery completion is a positive timestamp
Answer: Fail; recovery took 7 ms
The relevant elapsed duration is 12−5=7 ms, exceeding the 6 ms limit. Compare times on the specified reference and include the exact requirement boundary in the oracle.
87.A robot meets deadlines in an idle hardware test. Deployment also runs a camera encoder and storage workload absent from the test. What follow-up most directly addresses the missing interference evidence?
Show answer and explanation
- Disable deadline logging and compare the remaining idle CPU percentage
- Infer deployment deadlines from the processor's nominal clock rate alone
- Test or analyze timing with the representative competing workloads present
- Repeat only the idle workload until its average stabilizes
Answer: Test or analyze timing with the representative competing workloads present
The idle test does not exercise the competing resource demand. Representative contention or a justified worst-case model is needed to assess the deployment timing claim.
88.A fault-injection run resets both the device under test and the recorder before either persists the triggering event. The exported trace begins only after both reboot. What can the absence of a pre-reboot fault record establish?
Show answer and explanation
- It establishes the exact order of the lost pre-reboot events
- It does not show that no triggering fault occurred
- It proves both devices were healthy immediately before reboot
- It proves the fault injector was never invoked
Answer: It does not show that no triggering fault occurred
The observation path lost the relevant interval. Missing records after simultaneous reset are compatible with an unrecorded fault. The experiment needs retained or independent evidence for claims about the trigger.
89.A recovery benchmark counts only runs that eventually finish and reports their mean duration. Runs that never recover are omitted. What evidence is concealed by that reporting rule?
Show answer and explanation
- The frequency and exposure of unrecovered runs
- The fact that some completed runs had measurable durations
- The arithmetic mean among the retained completed runs
- The timestamp units used in every retained completion
Answer: The frequency and exposure of unrecovered runs
Conditioning on completion excludes unsuccessful or censored outcomes. The completed-run mean can be correct while understating recovery reliability. Report noncompletion and observation limits alongside completed durations.
90.An experiment changes the recovery algorithm and CPU hardware simultaneously. Recovery time improves. What prevents attributing the improvement specifically to the algorithm from this comparison alone?
Show answer and explanation
- The algorithm change is confounded with the hardware change
- A faster combined result identifies the algorithm as the sole cause
- Hardware changes cannot affect recovery duration
- Repeating the combined condition alone separates hardware and algorithm effects
Answer: The algorithm change is confounded with the hardware change
Both interventions can affect the result. A controlled comparison or other justified design is needed to isolate the algorithm's contribution; repeating the same combined condition does not separate the effects.
91.A replay reproduces message contents but removes the original gaps between messages. A timeout-related failure disappears. What behavior has the replay failed to preserve?
Show answer and explanation
- The sequence of stored message payloads
- Only the byte encoding of numeric fields
- The fact that each replayed payload can be parsed
- The event timing that drives the timeout logic
Answer: The event timing that drives the timeout logic
Timeouts depend on elapsed gaps, not just payload order or content. Collapsing gaps changes the experiment. A timing-faithful replay or an explicit transformed-time model is needed to investigate this failure.
92.A clock-jump test alters wall-clock labels but the component under test reads an unaffected monotonic clock. No interface maps the changed labels into that component. What does the test actually establish about its jump handling?
Show answer and explanation
- It proves wall-clock labels equal all monotonic-clock readings
- It has not injected a jump into the clock the component uses
- It makes the component's unaffected elapsed durations negative
- It proves handling of arbitrary jumps in the component's own time source
Answer: It has not injected a jump into the clock the component uses
Injection effectiveness depends on the actual dependency. Changing a different time source does not exercise this component's clock-discontinuity behavior, even when the test framework reports a successful clock change.
93.A recorder samples an alarm bit every 100 ms. The bit pulses for 10 ms between samples and is not latched. The exported samples are all zero. What improvement directly addresses this observability gap?
Show answer and explanation
- Compute a more precise mean from the same zero samples
- Infer that the pulse had zero duration because no sample captured it
- Increase decimal precision when exporting the same zero-valued samples
- Capture or latch transitions so the short pulse cannot disappear between samples
Answer: Capture or latch transitions so the short pulse cannot disappear between samples
An event shorter than the sampling gap can be missed entirely. Transition capture, latching or appropriately justified sampling coverage changes observability; reprocessing the same missing evidence does not recover it.
94.A recovery test checks that the supervisor reached READY but never verifies actuator outputs, sensor validity or the READY transition's guards. What requirement needs a separate oracle?
Show answer and explanation
- That a software process produced a status message
- That the supervisor emitted the READY state label
- That readiness reflects the required physical and interface conditions
- That the test could parse the supervisor's output
Answer: That readiness reflects the required physical and interface conditions
A status label is an observation of reported state. If its semantics require physical or interface conditions, the test must check those conditions or justified guard evidence rather than trusting the label it is evaluating.
95.A randomized fault campaign records the seed but not the fault schedule, software revision or environment configuration. Reusing the seed after code changes produces different faults. What would strengthen reproducibility?
Show answer and explanation
- Treat one seed as a complete execution specification across all program versions
- Retain the realized fault schedule and relevant software/environment revisions
- Store only a different numeric representation of the same seed
- Replace the original failure trace with any new run using that seed
Answer: Retain the realized fault schedule and relevant software/environment revisions
A seed operates through a particular generator and execution. Code or configuration changes can alter random calls and timing. Retaining the realized interventions and their context supports a more faithful replay.
96.A test claims the actuator stops within 50 ms of fault onset. Its trace includes fault onset and command-to-stop transmission, but no evidence of motion cessation. What claim is directly supported if transmission occurs after 20 ms?
Show answer and explanation
- The actuator physically stopped after exactly 20 ms
- The stop command was transmitted 20 ms after onset
- The actuator necessarily stopped within 50 ms
- All braking trajectories met the physical stopping requirement
Answer: The stop command was transmitted 20 ms after onset
Command transmission is one stage of response. Without evidence of actuator behavior or a justified downstream bound, the trace does not establish physical stopping time. The test's oracle must match the claimed outcome.
97.A recovery guarantee assumes a functioning backup sensor and an available power supply. A combined fault removes both. What can the original guarantee establish for this combined case?
Show answer and explanation
- It remains applicable because each fault can be named separately
- It proves recovery is impossible under every conceivable alternative design
- It guarantees recovery because two faults cancel each other
- It does not cover the violated backup and power assumptions
Answer: It does not cover the violated backup and power assumptions
A conditional guarantee applies only when its assumptions hold. The combined fault lies outside that stated coverage. This identifies missing evidence, not a proof about every possible recovery design.
98.A monitor detects a fault within 5 ms, and a separate recovery action completes within 10 ms after invocation. Integration may delay invocation by an unbounded queue wait. What bound follows for onset-to-completion time from these facts alone?
Show answer and explanation
- 10 ms
- 5 ms
- 15 ms
- No finite end-to-end bound follows
Answer: No finite end-to-end bound follows
The two bounded components are separated by an unbounded delay. Adding 5 and 10 would omit that delay. An end-to-end finite guarantee needs a bound on every serially contributing interval or another argument eliminating it.
99.A fleet reports zero observed failures over 20 short idle tests. A proposed claim covers continuous loaded operation for a week. What is the main evidence gap?
Show answer and explanation
- The idle results provide no evidence even for the idle runs actually tested
- Twenty short tests establish a deterministic reliability bound of seven days
- Zero observed failures proves every future loaded run succeeds
- The tested exposure and operating conditions do not cover the claimed use
Answer: The tested exposure and operating conditions do not cover the claimed use
Test outcomes depend on exposure and conditions. The short idle campaign can provide evidence for those tests, but it does not establish the broader loaded-duration claim without additional justified evidence.
100.A robot restarts after a fault, reconnects its sensors, passes the stated readiness guards, and resumes its mission. The mission goal has not yet been reached. Which outcome is established by these events?
Show answer and explanation
- Recovery to the stated ready/resumed condition, not mission completion
- A proof that every later mission action is feasible
- Mission success solely because recovery completed
- A proof that the initiating fault can never recur
Answer: Recovery to the stated ready/resumed condition, not mission completion
Recovery success and task success are separate predicates. The events establish the specified recovery stage, while final mission completion requires its own goal evidence.
101.An integration report promises recovery under every fault, but its evidence covers only single sensor dropouts with power and braking intact. Which revised claim matches that evidence's scope?
Show answer and explanation
- All untested faults are equivalent to sensor dropouts
- Recovery was demonstrated for the tested single-dropout conditions
- No recovery behavior of any kind was observed
- Recovery is guaranteed for all combinations of power and braking loss
Answer: Recovery was demonstrated for the tested single-dropout conditions
A supported statement identifies the tested fault class and assumptions. Extending it to arbitrary combinations requires further analysis or experiments; a passing narrow campaign cannot supply a universal guarantee.