FreeExam

Computational researcher: Reproducible Scientific Computing

Original interview cases on scientific provenance, numerical tests, parallel performance, cache and restart correctness, and research reporting. Scenarios separate repeatability, numerical agreement, and scientific validity.

These are original research interview scenarios, independent of employers, live interviews, and published question banks.

  1. 1.A published figure can be regenerated only from an uncommitted local script. What is the immediate provenance gap?

    Show answer and explanation
    1. A package lockfile alone identifies that local script.
    2. The experiment lacks any possible scientific value.
    3. The plot must be numerically wrong.
    4. The exact generating code is not durably identified.

    Answer: The exact generating code is not durably identified.

    A reproducible record needs the actual code used, including relevant local changes. A repository name or an unrelated committed version is insufficient.

  2. 2.A results table cites a branch name that now points to newer code. What identifier better pins the recorded implementation?

    Show answer and explanation
    1. Only the current branch name
    2. An immutable revision plus relevant local changes
    3. Only the repository’s default branch
    4. Only the date when the branch was last checked out

    Answer: An immutable revision plus relevant local changes

    A mutable branch can move. Identify a concrete revision and any departures that affected the run.

  3. 3.A workflow records package versions but fetches a changing dataset by a stable URL. What remains unpinned?

    Show answer and explanation
    1. The chosen optimization tolerance
    2. The package names
    3. The input data content
    4. The count of output columns necessarily

    Answer: The input data content

    A location can serve different content over time. Record an immutable data version or suitable content identity with retrieval provenance.

  4. 4.A file's name and size are unchanged after an update. What should not be inferred from those facts alone?

    Show answer and explanation
    1. The two stored lengths match.
    2. Further content comparison is possible.
    3. The path can still be referenced.
    4. Its bytes are identical.

    Answer: Its bytes are identical.

    Many different byte sequences share a filename and length. Use an appropriate content comparison or cryptographic digest with its assumptions.

  5. 5.Two artifacts have matching cryptographic digests. Under a collision-resistance assumption, what does this support?

    Show answer and explanation
    1. Proof that both artifacts have the same authorship rights
    2. Strong evidence of matching bytes
    3. Proof that every input was identical
    4. Proof of scientific correctness

    Answer: Strong evidence of matching bytes

    A content digest helps identify bytes under its cryptographic assumptions. It does not validate the scientific method or establish complete provenance.

  6. 6.A container image is referenced only by a mutable tag. What improves environment identification?

    Show answer and explanation
    1. Only the tag’s current resolution without preserving it
    2. Only the base image version
    3. A content digest and recorded build context
    4. Only a list of application package names

    Answer: A content digest and recorded build context

    Tags can be reassigned. A digest identifies an image artifact, while build context and external dependencies help explain how it was made.

  7. 7.A containerized calculation still reads the host's mounted parameter file. What does the container alone fail to freeze?

    Show answer and explanation
    1. The existence of a container process
    2. That external input
    3. The nominal command in the image definition
    4. The image's stored files

    Answer: That external input

    Containerization does not automatically capture mounted data, parameters, network resources, or host-dependent execution details.

  8. 8.A package lockfile exists, but a run uses a modified local library installed outside it. What should the record include?

    Show answer and explanation
    1. The actual imported library and modification
    2. Only the unused lockfile
    3. A guarantee the lockfile describes every possible import
    4. Only the project's license file

    Answer: The actual imported library and modification

    Document what actually executed, not merely a nominal environment specification. Local overrides can change behavior materially.

  9. 9.A rerun uses the same code and data but different compiler fast-math settings. What should be evaluated?

    Show answer and explanation
    1. Only the number of compiler messages
    2. Numerical effects of the changed arithmetic contract
    3. Only the final executable's name
    4. A guarantee source identity implies identical arithmetic

    Answer: Numerical effects of the changed arithmetic contract

    Compiler options can relax floating-point behavior. Record relevant build configuration and test its effect on the quantities of interest.

  10. 10.An environment variable changes a solver's thread count and numerical reduction order. What provenance information matters?

    Show answer and explanation
    1. Only command-line arguments, excluding inherited settings
    2. Only package versions, excluding runtime configuration
    3. A presumption environment variables cannot affect results
    4. The relevant environment setting

    Answer: The relevant environment setting

    Configuration outside source files can affect computation and reproducibility. Capture relevant settings rather than assuming the command alone defines the run.

  11. 11.A study preserves seeds but not generator algorithm or version. Which claim may be unsupported?

    Show answer and explanation
    1. That stochastic inputs were used
    2. Exact reconstruction of the draw sequence
    3. That integer seeds were recorded
    4. That a generator algorithm could be documented later

    Answer: Exact reconstruction of the draw sequence

    A seed is interpreted by an algorithm and state scheme. Reconstructing a particular random sequence can require more than the seed value.

  12. 12.A pipeline's last figure is saved, but intermediate calibration outputs are overwritten by later runs. What is harder to audit?

    Show answer and explanation
    1. The existence of the final image
    2. Whether the final file can be opened
    3. How the displayed result was derived
    4. The figure's current pixel dimensions

    Answer: How the displayed result was derived

    Provenance should connect outputs to the actual intermediates and inputs. Overwriting can sever that lineage even when the figure survives.

  13. 13.A run manifest lists parameter values but not their units. Why can this block a faithful rerun?

    Show answer and explanation
    1. A parameter manifest must contain only integers.
    2. Equal numeric values can represent different physical inputs.
    3. Units never affect deterministic software.
    4. The model can infer every unit unambiguously.

    Answer: Equal numeric values can represent different physical inputs.

    Record unit conventions or an explicit nondimensionalization. Numbers alone need not define the same scientific problem.

  14. 14.A workflow uses a default solver tolerance that changes between library releases. What makes the original run better specified?

    Show answer and explanation
    1. Only the command-line argument count
    2. Only the solver's generic name
    3. The resolved tolerance and library environment
    4. Only the date the paper was drafted

    Answer: The resolved tolerance and library environment

    A default is part of effective configuration. Record the value used and the implementation context when it can affect results.

  15. 15.Two files store the same logical table using different compression. Which reproducibility comparison is appropriate for a claim about table values?

    Show answer and explanation
    1. Compare decoded values under a specified schema.
    2. Require compressed bytes to match as the sole criterion.
    3. Assume different file lengths imply different data.
    4. Compare only compressed file lengths as proof of data equivalence.

    Answer: Compare decoded values under a specified schema.

    Artifact identity and scientific data equivalence are different comparisons. Decode and compare the relevant content with an explicit convention.

  16. 16.A CSV column switches from milliseconds to seconds without a schema version change. What should ingestion validation check?

    Show answer and explanation
    1. Only the number of delimiters
    2. Only whether every value parses as a float
    3. Units and semantic schema compatibility
    4. A guarantee numeric parsing establishes physical meaning

    Answer: Units and semantic schema compatibility

    Syntactically valid numbers can encode different quantities. A schema should represent meaning, units, and versioning where relevant.

  17. 17.A row key is unique within each input shard but duplicated after combining shards. What invariant is missing from the merge check?

    Show answer and explanation
    1. Only the largest value in each column
    2. Only per-shard row counts
    3. Only sorted column names
    4. Global key uniqueness

    Answer: Global key uniqueness

    A property holding locally need not hold in the aggregate. Validate identifiers at the scope where they are used.

  18. 18.A dataset revision silently removes difficult cases. A model's average error improves. What must be separated?

    Show answer and explanation
    1. Data composition changes from model improvement
    2. Only the count of CPU threads
    3. A guarantee a lower mean error proves a better algorithm
    4. Only the output's rounding precision

    Answer: Data composition changes from model improvement

    Changing evaluation cases can change a metric without changing the method. Compare like-for-like and report dataset revisions.

  19. 19.A result depends on an external API response, but only the request URL is saved. What would support later audit?

    Show answer and explanation
    1. Only a repeat request months later
    2. A guarantee identical URLs return identical content forever
    3. The response or an immutable version with provenance
    4. Only the HTTP client's package name

    Answer: The response or an immutable version with provenance

    Preserve the actual input when permitted, or an accessible immutable identity and sufficient metadata. A mutable response cannot be reconstructed from a URL alone.

  20. 20.A scientific package reports one version, but its source was patched locally without changing that version string. What identifier is needed?

    Show answer and explanation
    1. A guarantee patch changes are numerically irrelevant
    2. Only the package's installation path
    3. Only the public version string
    4. The patched source state

    Answer: The patched source state

    Version labels can be incomplete provenance for modified builds. Record the actual source revision or patch and build details.

  21. 21.A numerical regression test requires bitwise equality across platforms even though reduction order may differ legitimately. What should its assertion reflect?

    Show answer and explanation
    1. A fixed number of decimal places chosen arbitrarily
    2. A guarantee all rounding differences are scientific errors
    3. Only whichever platform ran first
    4. A justified numerical or artifact-level contract

    Answer: A justified numerical or artifact-level contract

    Choose exact or tolerance-based comparison according to what must be preserved. Tolerances need scientific and numerical justification.

  22. 22.A test accepts abs(new−reference)≤atol+rtol×abs(reference). With reference=100, atol=0.01, and rtol=0.001, what difference is allowed?

    Show answer and explanation
    1. 0.01
    2. 1.1
    3. 0.11
    4. 0.00101

    Answer: 0.11

    The bound is 0.01+0.001×100=0.11. Relative scaling matters at this reference magnitude.

  23. 23.A relative-only comparison divides by a reference value near zero. What is a relevant correction?

    Show answer and explanation
    1. Always requiring a zero relative error
    2. Multiplying the reference by zero
    3. A meaningful absolute tolerance floor
    4. Deleting every near-zero output from the test

    Answer: A meaningful absolute tolerance floor

    An absolute floor handles small reference scales. It should match the expected numerical error and the importance of small outputs.

  24. 24.A test compares a vector using only its mean error. Large positive and negative component errors cancel. What may be needed?

    Show answer and explanation
    1. Only more averaging of the signed errors
    2. A noncancelling norm or componentwise check
    3. Only the signed sum after normalization
    4. A guarantee zero signed mean implies exact agreement

    Answer: A noncancelling norm or componentwise check

    Signed aggregation can hide large errors. Select checks that reflect the relevant component and global accuracy requirements.

  25. 25.A candidate vector has errors (3,−3). What is the Euclidean error norm?

    Show answer and explanation
    1. 0
    2. 3
    3. sqrt(18)
    4. 18

    Answer: sqrt(18)

    The squared norm is 3²+(−3)²=18. The zero signed sum is not a zero error norm.

  26. 26.A test asserts only that a solver returns an array of the right shape. What scientific property remains untested?

    Show answer and explanation
    1. The requested output-vector length
    2. The number of array dimensions
    3. Whether the values solve the intended problem
    4. The existence of an array object

    Answer: Whether the values solve the intended problem

    Shape checks catch interface mistakes but do not establish numerical correctness. Add relevant residual, reference, invariant, or convergence evidence.

  27. 27.A golden reference was generated by the same buggy routine as the candidate. What can agreement conceal?

    Show answer and explanation
    1. A common-mode defect
    2. A difference in the tested output bytes
    3. The fact both routines completed
    4. The dimensions of the reference array

    Answer: A common-mode defect

    A stored expected output is not automatically an independent oracle. Use mathematical cases, independently derived checks, or other suitable evidence.

  28. 28.A linear operator implementation should satisfy A(αu+βv)=αAu+βAv. What kind of test uses that relation without knowing every exact output?

    Show answer and explanation
    1. A package-import check
    2. A runtime-only benchmark
    3. A proof of physical model validity
    4. A metamorphic property test

    Answer: A metamorphic property test

    The relation checks a required structural property using related inputs and outputs. Passing sampled cases does not prove the entire implementation correct.

  29. 29.A mass-conserving update passes a global sum check but swaps two cell values. What additional evidence is needed?

    Show answer and explanation
    1. Spatially resolved correctness checks
    2. A presumption conservation uniquely determines the field
    3. Only the total number of cells
    4. Only a tighter tolerance on the same total

    Answer: Spatially resolved correctness checks

    A global invariant can hold for an incorrect distribution. Tests should reflect both structural constraints and relevant solution details.

  30. 30.A randomized test fails once and records neither input nor seed. What is the main debugging gap?

    Show answer and explanation
    1. The failure must be a false alarm.
    2. The algorithm is proved unbiased.
    3. The failing case cannot be reconstructed reliably.
    4. Every random test is scientifically invalid.

    Answer: The failing case cannot be reconstructed reliably.

    Retain sufficient case-generation and environment information for reproduction. A failure should lead to investigation rather than being erased as randomness.

  31. 31.A regression computes an error norm that becomes NaN, then checks only whether it exceeds a threshold. What needs explicit handling?

    Show answer and explanation
    1. An assumption NaN compares like a large real number
    2. Nonfinite results
    3. Only the norm's array dimension
    4. Only the threshold's displayed precision

    Answer: Nonfinite results

    NaN can defeat ordinary ordered comparisons. Check finiteness and failure status explicitly rather than rely on one inequality.

  32. 32.A numerical library warns of nonconvergence but returns its last iterate. A pipeline suppresses the warning and reports a successful estimate. What is missing?

    Show answer and explanation
    1. Only the final vector's shape check
    2. A guarantee returned values meet the requested tolerance
    3. Only a progress-bar update
    4. Solver-status handling

    Answer: Solver-status handling

    An output value is not evidence of convergence. Preserve and interpret the solver's actual status and accuracy diagnostics.

  33. 33.A derivative implementation is compared with centered differences at only one extremely small perturbation. What improves the check?

    Show answer and explanation
    1. A suitable range of perturbations and error behavior
    2. Only a still smaller perturbation
    3. Only equality of derivative-array shapes
    4. A presumption the smallest step is always most accurate

    Answer: A suitable range of perturbations and error behavior

    Finite differences balance truncation, cancellation, and solver noise. Vary the perturbation to see whether the comparison behaves as expected.

  34. 34.A statistical test in a regression suite has false-rejection probability 1% under a correct implementation. What should maintainers expect over many valid runs?

    Show answer and explanation
    1. The nominal rate guarantees exactly one failure per hundred runs
    2. Every failure proves a scientific result false
    3. A failure can never occur if code is correct
    4. Some failures even without a defect

    Answer: Some failures even without a defect

    A statistical criterion has a repeated-sampling error rate. Design tests and investigation procedures around it rather than claim absolute certainty.

  35. 35.A flaky randomized test is rerun until it passes, and only the passing attempt is retained. What is obscured?

    Show answer and explanation
    1. Only the compiler's optimization level
    2. The failure behavior and selection rule
    3. A guarantee the final pass repairs the defect
    4. Only the total number of source files

    Answer: The failure behavior and selection rule

    Selective rerunning can hide real defects or misrepresent test reliability. Record attempts and investigate the failure mechanism.

  36. 36.A numerical algorithm passes tiny toy cases but is claimed to scale to very large ill-conditioned inputs. What coverage is missing?

    Show answer and explanation
    1. Only another case at the same small dimension
    2. Only repeated runs of one well-conditioned example
    3. Relevant size and conditioning regimes
    4. A proof that input size cannot affect accuracy

    Answer: Relevant size and conditioning regimes

    Toy cases may not expose conditioning, memory, overflow, or convergence limits. Tests should reflect the domain of the scaling claim.

  37. 37.A simulation test checks only the mean of a distribution, while the scientific claim concerns extreme quantiles. What should be added?

    Show answer and explanation
    1. Only a tighter mean tolerance
    2. A guarantee equal means imply equal distributions
    3. Checks relevant to the tail functional
    4. Only more printed sample means

    Answer: Checks relevant to the tail functional

    Distinct distributions can share a mean but have very different tails. Validation must align with the quantity being claimed.

  38. 38.A test compares eigenvectors entry by entry for a repeated eigenvalue. Two valid bases fail the check. What comparison can fit the mathematical contract?

    Show answer and explanation
    1. Subspace and eigenpair-residual checks
    2. A demand that every implementation select one identical basis
    3. Only sorting vector entries independently
    4. Only matching the signs of the first components

    Answer: Subspace and eigenpair-residual checks

    Degenerate eigenspaces admit multiple bases. Check the represented space and residuals rather than impose an arbitrary coordinate representation.

  39. 39.A solver is required to be invariant to a consistent permutation of equations. What is a useful test?

    Show answer and explanation
    1. Sort solution values and ignore their coordinates.
    2. Permute inputs and compare the mapped-back solution.
    3. Replace all permuted equations by their mean.
    4. Permute only b while leaving A unchanged.

    Answer: Permute inputs and compare the mapped-back solution.

    The transformation must represent the same problem. Permuting only one part changes the equations instead of testing the stated invariance.

  40. 40.A test tolerance was chosen because it made one failing output pass, with no numerical or scientific rationale. What is needed?

    Show answer and explanation
    1. Only the larger threshold committed to the test
    2. A presumption any finite threshold is valid
    3. An accuracy-based tolerance justification
    4. Only a different random seed

    Answer: An accuracy-based tolerance justification

    Tolerances should reflect relevant numerical error and application needs. Adjusting them solely to match a failure can hide a defect.

  41. 41.A parallel solver takes 120 seconds on one worker and 40 seconds on four workers. What is speedup?

    Show answer and explanation
    1. 3×
    2. 80×
    3. 4×
    4. 0.333×

    Answer: 3×

    Speedup is single-worker time divided by parallel time: 120/40=3. It is distinct from the worker count.

  42. 42.A job has speedup three on four workers. What is parallel efficiency, defined as speedup/workers?

    Show answer and explanation
    1. 300%
    2. 75%
    3. 133%
    4. 25%

    Answer: 75%

    Efficiency is 3/4=0.75. This definition uses a comparable baseline and fixed problem size.

  43. 43.Under Amdahl's supplied model, a serial fraction s=0.1 remains as workers approach infinity. What is the ideal speedup limit?

    Show answer and explanation
    1. Unbounded
    2. 10×
    3. 100×
    4. 0.1×

    Answer: 10×

    The limiting speedup is 1/s=10. The model ignores additional communication and changing workloads.

  44. 44.A benchmark doubles worker count while keeping total problem size fixed. What scaling experiment is this?

    Show answer and explanation
    1. Strong scaling
    2. Weak scaling
    3. A convergence-order study
    4. A model-calibration experiment

    Answer: Strong scaling

    Strong scaling measures how a fixed workload responds to more parallel resources. Weak scaling typically grows total work to keep per-worker work comparable.

  45. 45.A benchmark doubles workers and doubles data so each worker keeps a similar workload. What must a weak-scaling claim disclose?

    Show answer and explanation
    1. The growth rule and measured resource costs
    2. Only fixed-size single-worker runtime
    3. Only the largest worker count
    4. A guarantee equal local work removes communication costs

    Answer: The growth rule and measured resource costs

    Specify what grows and what stays comparable. Communication, synchronization, and memory can change even with similar local computation.

  46. 46.A parallel speedup is measured after changing both worker count and solver tolerance. What is confounded?

    Show answer and explanation
    1. Only data-transfer cost, with no possible accuracy effect
    2. Only the number of output records
    3. Resource scaling with changed accuracy
    4. A guarantee the tolerance cannot affect runtime

    Answer: Resource scaling with changed accuracy

    Scaling comparisons should use comparable work and scientific accuracy, or explicitly analyze the changed error-cost tradeoff.

  47. 47.Workers finish local calculations quickly, but most elapsed time is spent waiting for one slow partition. What should profiling examine?

    Show answer and explanation
    1. Load imbalance and partition cost
    2. Only the arithmetic speed of the fastest worker
    3. Only the average count of stored rows
    4. A guarantee equal item counts imply equal work

    Answer: Load imbalance and partition cost

    Partitions with equal sizes can have unequal computational costs. Measure the critical workload and waiting behavior.

  48. 48.A distributed routine spends 30 seconds computing and 20 seconds communicating without overlap. What fraction of its 50-second runtime is communication?

    Show answer and explanation
    1. 20%
    2. 66.7%
    3. 60%
    4. 40%

    Answer: 40%

    The fraction is 20/(30+20)=0.4. These components must not be double counted if a different implementation overlaps them.

  49. 49.A profiler reports communication and computation durations that overlap in time. What is wrong with adding them as total wall time automatically?

    Show answer and explanation
    1. Wall time must exceed their sum.
    2. It can double count overlapping intervals.
    3. The shorter duration must be zero.
    4. Every overlap is impossible.

    Answer: It can double count overlapping intervals.

    Component activity time and elapsed critical-path time are different. Use a timeline or compatible accounting to describe overlap.

  50. 50.A reduction sums floating-point values in different orders across thread counts. What can legitimately differ?

    Show answer and explanation
    1. The stored number of input values
    2. Low-order rounding in the sum
    3. The physical units of the data
    4. The exact real-arithmetic definition of addition

    Answer: Low-order rounding in the sum

    Floating-point addition is not generally associative. Assess whether numerical differences are within the contract or affect scientific conclusions.

  51. 51.In a toy decimal arithmetic, rounding occurs after every addition. Why can (a+b)+c differ from a+(b+c)?

    Show answer and explanation
    1. One expression has a different real-arithmetic sum.
    2. Intermediate rounding changes retained information.
    3. Parentheses change the number of input values.
    4. All finite-precision sums are nondeterministic.

    Answer: Intermediate rounding changes retained information.

    The exact sums are equal in real arithmetic, but finite intermediate representations can lose different information in different orders.

  52. 52.A GPU version uses lower precision and runs faster but misses the required error tolerance. What should an efficiency report show?

    Show answer and explanation
    1. Speed and achieved accuracy together
    2. Only kernel throughput
    3. A claim that faster execution proves a better scientific method
    4. Only the number of GPU cores

    Answer: Speed and achieved accuracy together

    Different precision can change both cost and error. Compare at the required accuracy or report the tradeoff openly.

  53. 53.A GPU kernel timing omits host-device transfers and synchronization. What does that timing fail to represent?

    Show answer and explanation
    1. The measured kernel interval itself
    2. The possibility of a kernel-only comparison
    3. End-to-end task latency
    4. The existence of device execution

    Answer: End-to-end task latency

    Kernel-only timing can be useful when labeled. It does not describe total application cost if transfers and synchronization matter.

  54. 54.A benchmark starts a timer, launches asynchronous work, and stops before completion. What is primarily measured?

    Show answer and explanation
    1. The exact arithmetic operation count
    2. Guaranteed full computation time
    3. Only the device's energy use
    4. Submission latency rather than completed work

    Answer: Submission latency rather than completed work

    An appropriate completion barrier or timing mechanism is needed when measuring asynchronous execution. Otherwise unfinished work is excluded.

  55. 55.Nested libraries each start many threads inside an already parallel process pool. What performance issue can arise?

    Show answer and explanation
    1. Guaranteed linear speedup
    2. Oversubscription
    3. A proof of incorrect matrix dimensions
    4. Automatic elimination of scheduling overhead

    Answer: Oversubscription

    Too many runnable threads can cause contention and overhead. Coordinate concurrency settings and measure the actual workload.

  56. 56.Every worker loads a full 6 GB dataset. Ignoring sharing and overhead, what data memory is used by eight workers?

    Show answer and explanation
    1. 6 GB
    2. 0.75 GB
    3. 14 GB
    4. 48 GB

    Answer: 48 GB

    Replicated storage uses 8×6=48 GB. Real memory accounting must also include workspaces, sharing, and runtime overhead.

  57. 57.A distributed run exhausts memory only during a gather-to-one operation. What should capacity planning include?

    Show answer and explanation
    1. Peak aggregation memory
    2. A guarantee distributed input implies distributed output storage
    3. Only steady-state memory per worker
    4. Only compressed input size

    Answer: Peak aggregation memory

    Collecting results can concentrate data and temporaries on one process. Peak memory can exceed ordinary partition-level usage.

  58. 58.A parallel algorithm changes numerical results when partition boundaries move. What should be assessed?

    Show answer and explanation
    1. Only the number of local cells, with no semantic effect
    2. A guarantee every partition change is scientifically harmless
    3. Only the worker launch order
    4. Boundary handling and acceptable arithmetic effects

    Answer: Boundary handling and acceptable arithmetic effects

    Partitioning may expose halo, ownership, or reduction errors as well as valid rounding differences. Diagnose the mechanism and scientific significance.

  59. 59.A halo exchange sends values from the previous time step when the scheme needs current-stage values. What is at risk?

    Show answer and explanation
    1. Only the total bytes sent
    2. A guarantee a successful transfer establishes correct timing semantics
    3. Only the network transport's checksum
    4. The implemented discrete method

    Answer: The implemented discrete method

    Communication correctness includes which state and stage the data represent. Receiving intact bytes is not sufficient.

  60. 60.A domain decomposition computes shared boundary contributions twice without an ownership rule. What can fail?

    Show answer and explanation
    1. The assembled balance or operator
    2. Only the physical unit convention
    3. Only the MPI process count display
    4. A guarantee duplicate computation cancels automatically

    Answer: The assembled balance or operator

    Shared contributions need consistent ownership or reduction semantics. Duplicate additions can change the mathematical operator or total.

  61. 61.A workflow retries a failed stochastic task by appending a second output under the same logical sample ID. What must aggregation prevent?

    Show answer and explanation
    1. Only duplication of a log message
    2. Only a larger file listing
    3. A guarantee retries are new independent samples
    4. Double counting one intended sample

    Answer: Double counting one intended sample

    Task identity should define whether a retry replaces a failed attempt or adds a new sample. Aggregation must enforce the intended sampling design.

  62. 62.A checkpoint stores state variables but omits the RNG state needed to continue a stochastic path. What may a restart fail to preserve?

    Show answer and explanation
    1. The checkpoint's array dimensions
    2. The ability to load state values
    3. The intended continuation of that path
    4. The nominal simulation identifier

    Answer: The intended continuation of that path

    Exact path continuation can depend on generator state and stream position. Saving a seed alone may not identify the current position.

  63. 63.A multistep integrator checkpoint stores only the latest state, then restarts as if full method history were available. What can be missing?

    Show answer and explanation
    1. Only the latest state vector with no method metadata
    2. Required history and integrator state
    3. A guarantee the next step is unchanged
    4. Only the count of saved state components

    Answer: Required history and integrator state

    A method can depend on previous states, steps, and controller information. Restart must restore them or use a justified reinitialization procedure.

  64. 64.A workflow marks an output complete before all bytes have been written. Another stage reads it immediately. What can occur?

    Show answer and explanation
    1. An automatic reconstruction of missing bytes
    2. Guaranteed atomic visibility
    3. Consumption of a partial artifact
    4. Only a different filename ordering

    Answer: Consumption of a partial artifact

    Publish completion only after the artifact is durably and correctly finalized under the storage contract. Atomic replacement can help where supported.

  65. 65.A cache key includes source data but omits a preprocessing parameter. What may happen when that parameter changes?

    Show answer and explanation
    1. Stale derived-data reuse
    2. Guaranteed correct reuse because raw data match
    3. Only a larger cache directory
    4. Only a lower cache hit rate

    Answer: Stale derived-data reuse

    Cache identity must include inputs that affect the result. Matching only a subset can reuse an artifact for a different computation.

  66. 66.A pipeline's cached result was generated with a different numerical precision. What should determine whether it can be reused?

    Show answer and explanation
    1. A guarantee all precision modes are interchangeable
    2. The cache contract and required accuracy
    3. Only the cached file's creation date
    4. Only whether the array shapes match

    Answer: The cache contract and required accuracy

    Precision can change results and error properties. Cache compatibility must represent the intended computation and acceptance criteria.

  67. 67.A workflow uses file modification time as its only dependency check. Files are copied while preserving timestamps but changing bytes. What may be missed?

    Show answer and explanation
    1. Only the age of the computer
    2. A real input change
    3. A guarantee copied inputs are scientifically equivalent
    4. Only a new directory name

    Answer: A real input change

    Timestamps are not complete content identities. Use dependency tracking appropriate to the storage and provenance requirements.

  68. 68.A checkpoint is readable but was produced by an incompatible state-schema version. What should restart logic do?

    Show answer and explanation
    1. Validate compatibility before resuming.
    2. Interpret bytes as the new schema without checks.
    3. Assume successful parsing proves semantic compatibility.
    4. Pad all missing fields with zeros automatically.

    Answer: Validate compatibility before resuming.

    A syntactically readable artifact can have different state meanings. Use explicit versioning, validation, and a justified migration or restart policy.

  69. 69.A process fails after writing a valid output but before recording task completion. On retry, what design helps avoid duplicates?

    Show answer and explanation
    1. Idempotent handling using stable task identity
    2. Treating every launch as an independent scientific sample
    3. Always appending another success row
    4. Deleting the original input parameters

    Answer: Idempotent handling using stable task identity

    Workflow state and output publication must be reconciled safely. Stable identity can support detecting a completed result rather than counting it twice.

  70. 70.A long run resumes from a checkpoint on a different platform. What verification is useful before combining old and new segments?

    Show answer and explanation
    1. Restart compatibility and continuity checks
    2. Only identical output directory names
    3. A guarantee serialized state implies identical arithmetic behavior
    4. Only the nominal job wall-time limit

    Answer: Restart compatibility and continuity checks

    Check state interpretation, environment assumptions, invariants, and relevant continuity. Serialization alone does not guarantee a faithful numerical continuation.

  71. 71.A task with a difficult parameter setting repeatedly fails. The scheduler silently substitutes an easier setting. What is changed?

    Show answer and explanation
    1. Only runtime efficiency
    2. Only the worker assignment
    3. The scientific experiment
    4. A guarantee the original design remains intact

    Answer: The scientific experiment

    Retries should preserve intended inputs unless a documented analysis changes the design. Silent substitution can bias or invalidate the study.

  72. 72.A result table combines outputs from two model versions under one unlabeled column. What is necessary for interpretation?

    Show answer and explanation
    1. Only sorting by output value
    2. Only replacing missing entries with zeros
    3. A guarantee matching column names imply matching models
    4. Version-aware provenance

    Answer: Version-aware provenance

    Outputs with the same schema can represent different scientific computations. Retain enough lineage to separate and compare them correctly.

  73. 73.A workflow dependency graph allows analysis before all required partitions complete. What should readiness depend on?

    Show answer and explanation
    1. Only the latest file timestamp
    2. A fixed sleep duration assumed sufficient
    3. Only the first successful partition
    4. The specified complete set of valid inputs

    Answer: The specified complete set of valid inputs

    Time delays do not establish dependency completion. Validate expected partitions, statuses, and identities before downstream aggregation.

  74. 74.An aggregation expects 250 unique sample IDs but sees 252 rows containing two duplicate IDs. What should be checked before computing a mean?

    Show answer and explanation
    1. Only alphabetical row order
    2. A guarantee extra rows improve precision
    3. Only the larger row count
    4. Uniqueness and completeness of logical samples

    Answer: Uniqueness and completeness of logical samples

    Physical row count is not the same as the intended sample set. Identify duplicates and missing IDs under the study design.

  75. 75.A distributed failure log contains no parameter set, task ID, or attempt ID. What is difficult to reconstruct?

    Show answer and explanation
    1. Only the total number of log lines
    2. Only the final count of successful attempts
    3. A guarantee every failed task was safely replaced
    4. Which scientific work failed and how it was retried

    Answer: Which scientific work failed and how it was retried

    Operational records should connect failures to stable scientific inputs and attempts. This supports correct recovery and missingness analysis.

  76. 76.A pipeline deletes raw observations after producing summaries, and those summaries omit a later-needed diagnostic. What limitation arises?

    Show answer and explanation
    1. The diagnostic may no longer be reconstructible.
    2. The published mean must change.
    3. A software lockfile can recover the missing observations.
    4. Every existing summary becomes numerically invalid.

    Answer: The diagnostic may no longer be reconstructible.

    Retention should support justified audit and reanalysis needs within applicable constraints. A summary generally cannot recover all information in raw data.

  77. 77.An intermediate file is corrupt but still passes a filename-based existence check. What additional validation can help?

    Show answer and explanation
    1. A guarantee successful directory listing proves validity
    2. Only a second check of the same filename
    3. Content integrity and schema checks
    4. Only a shorter path

    Answer: Content integrity and schema checks

    Existence is weaker than integrity or semantic validity. Check content identity and expected structure or invariants as appropriate.

  78. 78.A transferred file passes its stated byte-integrity check. Its measurements had incorrect unit labels before transfer. Which further validation addresses that known defect?

    Show answer and explanation
    1. Check the scientific meaning and units of the measurements.
    2. Only repeat the successful transport-integrity check.
    3. Only recompute a digest of the received file.
    4. Accept the unit labels because the transferred bytes passed.

    Answer: Check the scientific meaning and units of the measurements.

    The transfer preserved the artifact under the stated check, including its pre-existing defect. Integrity checking does not validate measurement meaning, preprocessing, or unit labels.

  79. 79.A workflow reruns all tasks after a trivial plot-color change. What separation can avoid needless scientific computation?

    Show answer and explanation
    1. Removing provenance for generated plots
    2. Ignoring changes in numerical analysis code
    3. Treating all figures as independent of data
    4. Distinct dependencies for analysis and presentation

    Answer: Distinct dependencies for analysis and presentation

    Track dependencies at a useful granularity. Presentation-only changes can reuse scientifically valid upstream results when their actual inputs are unchanged.

  80. 80.A cache accelerates reruns, but cold-start cost is omitted from an end-to-end performance claim. What should the report state?

    Show answer and explanation
    1. Only the cached artifact count
    2. A guarantee cache behavior is identical for every user
    3. Cache state and scope of the timing
    4. Only the fastest warm run

    Answer: Cache state and scope of the timing

    Warm and cold execution answer different performance questions. Report setup and cache conditions relevant to the intended use.

  81. 81.A paper reports the single fastest runtime from 30 runs for method A and the median for method B. What needs correction?

    Show answer and explanation
    1. Only the units displayed on the chart
    2. A guarantee all runtime summaries estimate the same quantity
    3. Only the order of method names
    4. A comparable summary and sampling procedure

    Answer: A comparable summary and sampling procedure

    Selective summaries can bias comparisons. Use a justified common procedure and report relevant variability and conditions.

  82. 82.Runtime measurements are 2, 3, 3, 4, and 18 seconds. What is their median?

    Show answer and explanation
    1. 4 seconds
    2. 6 seconds
    3. 3 seconds
    4. 18 seconds

    Answer: 3 seconds

    The sorted middle value is three. The mean is six, illustrating how an outlier affects a different summary.

  83. 83.A speed claim compares old time 15 seconds with new time 10 seconds. What are speedup and time reduction?

    Show answer and explanation
    1. 0.667× and 33.3%
    2. 5× and 66.7%
    3. 1.5× and 50%
    4. 1.5× and 33.3%

    Answer: 1.5× and 33.3%

    Speedup is 15/10=1.5. Time reduction is (15−10)/15≈33.3%; the metrics use different denominators.

  84. 84.A figure's axis is truncated near the observed values, making a small difference look enormous. What should interpretation use?

    Show answer and explanation
    1. The actual scale and relevant effect size
    2. Only the visual bar-height ratio
    3. A guarantee every truncated axis invalidates the data
    4. Only the number of pixels between points

    Answer: The actual scale and relevant effect size

    A truncated axis can be legitimate but must be clear. Numerical effect size and uncertainty should determine the scientific interpretation.

  85. 85.A log-scale plot includes nonpositive values that are silently omitted. What should the record clarify?

    Show answer and explanation
    1. Only the positions of the remaining positive points
    2. The handling and scientific meaning of omitted values
    3. A guarantee omitted values were invalid measurements
    4. Only the displayed positive-value range

    Answer: The handling and scientific meaning of omitted values

    Log displays cannot directly show nonpositive values. Explain exclusions or transformations so readers can assess their effect on the claim.

  86. 86.A scalar metric improves on average but worsens severely for a critical subgroup of test problems. What should evaluation show?

    Show answer and explanation
    1. Disaggregated performance and task relevance
    2. Only the best-performing subgroup
    3. Only the grand mean
    4. A guarantee any average improvement benefits every use

    Answer: Disaggregated performance and task relevance

    Aggregate metrics can conceal important failures or tradeoffs. Report relevant regimes and the intended application scope.

  87. 87.A benchmark suite is used repeatedly to choose algorithm variants and then cited as untouched final validation. What risk arises?

    Show answer and explanation
    1. Only a change in metric units
    2. Overfitting to the evaluation suite
    3. A guarantee public benchmarks cannot be overfit
    4. Only an increase in solver memory

    Answer: Overfitting to the evaluation suite

    Repeated design decisions can adapt to benchmark details. Distinguish development evidence from independent confirmation when making generalization claims.

  88. 88.A performance plot excludes runs that exceeded memory limits. What should a fair comparison include?

    Show answer and explanation
    1. Only the remaining average runtime
    2. Failures and feasibility limits
    3. Only the fastest successful runs
    4. A guarantee omitted methods would have tied if completed

    Answer: Failures and feasibility limits

    Failure is relevant performance evidence, especially when correlated with problem difficulty. State exclusions and their effects on conclusions.

  89. 89.A study releases code but not the configuration that selects preprocessing and model options. What remains incomplete?

    Show answer and explanation
    1. The recipe for the reported experiment
    2. The ability to inspect functions
    3. A guarantee defaults reproduce the published configuration
    4. The existence of source files

    Answer: The recipe for the reported experiment

    Code availability and reproducibility of one experiment are different. Preserve resolved settings and the steps that connect inputs to outputs.

  90. 90.A notebook shows cells out of execution order and contains variables not defined by a clean run. What should be checked?

    Show answer and explanation
    1. Only the stored plot images
    2. A guarantee saved outputs prove the full notebook reruns
    3. Only the displayed cell numbers
    4. Execution from a fresh state

    Answer: Execution from a fresh state

    Hidden interactive state can affect results. A clean execution helps expose missing dependencies and order assumptions.

  91. 91.A notebook reruns cleanly but fetches changing network inputs. What additional condition matters for repeatable results?

    Show answer and explanation
    1. Input versioning or preservation
    2. Only the notebook filename
    3. Only the absence of undefined variables
    4. A guarantee a clean kernel freezes remote content

    Answer: Input versioning or preservation

    Clean execution addresses hidden state, not mutability of external inputs. Reconstructing the experiment also requires controlling relevant data.

  92. 92.A new optimizer is compared with a baseline given much less tuning effort. What should methodology disclose?

    Show answer and explanation
    1. Only the winning algorithm's iteration count
    2. Only final objective values
    3. Tuning budgets and selection rules
    4. A guarantee equal source-code length means equal tuning

    Answer: Tuning budgets and selection rules

    Unequal search effort can influence results. Describe tuning and evaluation procedures so the comparison's scope is assessable.

  93. 93.A single simulation run supports a broad claim over many parameter regimes. What should strengthen that claim?

    Show answer and explanation
    1. Only additional decimal places from the same run
    2. A guarantee one representative label proves representativeness
    3. Only a higher-resolution copy of the same figure
    4. Evidence across relevant regimes and known limits

    Answer: Evidence across relevant regimes and known limits

    Specify the target domain and test scientifically relevant variation. One successful case does not establish a universal result.

  94. 94.A reported improvement is 0.01 while rerun variability is about 0.2 under relevant conditions. What is unsupported without more evidence?

    Show answer and explanation
    1. The fact that two central estimates differ
    2. A reliably resolved improvement
    3. The usefulness of a better-powered comparison
    4. The ability to report observed variability

    Answer: A reliably resolved improvement

    A small observed difference can be noise relative to the study's precision. Quantify uncertainty and use a design appropriate to the effect of interest.

  95. 95.An algorithm is described as exact because it solves a discretized linear system to machine precision. What should be distinguished?

    Show answer and explanation
    1. Only the number of printed digits
    2. Algebraic solve error from discretization and model error
    3. Only the solver's implementation language
    4. A guarantee machine precision equals physical truth

    Answer: Algebraic solve error from discretization and model error

    Near-exact solution of approximate equations does not remove errors from discretization, uncertain inputs, or model inadequacy.

  96. 96.A research archive has artifacts and checksums but no mapping from figures to runs. What provenance link is missing?

    Show answer and explanation
    1. Which run generated each reported result
    2. Only the archive’s total byte count
    3. Only a list of all source revisions with no run mapping
    4. A guarantee all archived files support every figure

    Answer: Which run generated each reported result

    An archive needs interpretable lineage, not just a collection of intact files. Connect reported claims to actual inputs, runs, and transformations.

  97. 97.A researcher independently reimplements a method and gets comparable observables within justified tolerances. What kind of evidence does this add?

    Show answer and explanation
    1. Bitwise identity of execution histories
    2. Proof that every scientific assumption is true
    3. A guarantee no shared conceptual error exists
    4. Agreement from a distinct implementation

    Answer: Agreement from a distinct implementation

    Independent implementation can reduce some shared-code risks. Comparable results remain evidence within tested conditions rather than a universal proof.

  98. 98.A result is repeatable but uses a scientifically inappropriate likelihood. What does repeatability fail to establish?

    Show answer and explanation
    1. That the workflow is deterministic under those conditions
    2. Validity of the inferential model
    3. That the same setup can reproduce the result
    4. The existence of an executable method

    Answer: Validity of the inferential model

    Reproducing a calculation does not validate its assumptions. Scientific correctness requires evidence about the modeled system and inferential task.

  99. 99.A corrective release changes a published numerical result. What supports an auditable correction?

    Show answer and explanation
    1. A guarantee earlier users infer every change from a version number
    2. Overwriting all old artifacts without explanation
    3. Preserved versions, changed assumptions, and revised evidence
    4. Keeping only the newest figure and deleting provenance

    Answer: Preserved versions, changed assumptions, and revised evidence

    An explicit correction should make the old and new computations distinguishable and explain the impact on claims.

  100. 100.A 100-task study retries 10 failed attempts successfully. The final table has 110 rows because both failed placeholders and retry outputs were included as values. What should the estimator use?

    Show answer and explanation
    1. One valid result per intended task, with failure handling documented
    2. Only the ten retried tasks
    3. The first 100 rows regardless of status or identity
    4. All 110 rows as independent successful samples

    Answer: One valid result per intended task, with failure handling documented

    Logical task identity and validity determine the sample. Counting placeholders and retries as extra observations changes the study and can bias its estimator.

  101. 101.A solver is 3× faster on four workers, but uses a looser tolerance and excludes transfer time. What comparison would support an end-to-end efficiency claim?

    Show answer and explanation
    1. Only a larger worker count
    2. Only the reported 3× kernel timing
    3. Matched accuracy, complete timing scope, and stated resource conditions
    4. Only the baseline's formal numerical order

    Answer: Matched accuracy, complete timing scope, and stated resource conditions

    Resource count, achieved accuracy, and timing scope all affect the claim. A kernel or changed-tolerance comparison should be labeled within its actual scope.