FreeExam

Numerical studies and reproducibility

Original computational research interview scenarios on numerical reliability, simulation studies, statistical evidence, optimization, and reproducible scientific workflows.

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

  1. 1.A simulation team is asked to show that a new solver is better. What should be defined before choosing a benchmark metric?

    Show answer and explanation
    1. Only the solver with the newest release date
    2. The scientific or computational claim and comparison conditions
    3. The result plot's preferred axis limits
    4. The largest problem that fits available memory

    Answer: The scientific or computational claim and comparison conditions

    A meaningful evaluation starts with a specified claim, baseline, domain, and outcome. Choosing a favorable metric afterward can answer a different question.

  2. 2.A solver matches an exact solution of the implemented equations. What has that evidence directly supported?

    Show answer and explanation
    1. Verification of that implementation for the tested case
    2. Validation of every physical assumption in the model
    3. Confirmation that all measured inputs are unbiased
    4. Proof of accuracy for every boundary condition

    Answer: Verification of that implementation for the tested case

    Agreement with a known mathematical solution supports code/solution verification. Physical validity and applicability require additional evidence about the modeled system.

  3. 3.Refining the mesh no longer changes a result, but the result still disagrees with reliable observations. What possibility remains?

    Show answer and explanation
    1. The mesh must still be the sole error source
    2. The output must be rounded to fewer digits until it agrees
    3. The model may omit relevant physical behavior
    4. Numerical convergence proves the observations are wrong

    Answer: The model may omit relevant physical behavior

    Numerical convergence addresses discretization behavior under the model. It cannot establish that the chosen equations and assumptions describe the observed system adequately.

  4. 4.A diffusion model expects a coefficient in m²/s, but an input table supplies cm²/s. What conversion is required for the numeric coefficient?

    Show answer and explanation
    1. Multiply by 10^-4
    2. Multiply by 10^2
    3. Multiply by 10^-2
    4. Leave the number unchanged

    Answer: Multiply by 10^-4

    One centimeter is 10^-2 meters, so one square centimeter is 10^-4 square meters. Square the length conversion for the diffusion coefficient's units.

  5. 5.Two physical experiments differ in size and flow speed. Why compare relevant dimensionless groups when claiming dynamic similarity?

    Show answer and explanation
    1. They remove every boundary-condition requirement
    2. They make dimensional inputs unnecessary in all future calculations
    3. They guarantee identical material properties without measurement
    4. They express the ratios governing the modeled behavior

    Answer: They express the ratios governing the modeled behavior

    Dimensionless groups expose governing ratios. Similarity still depends on the applicable model, geometry, boundary conditions, and other relevant parameters.

  6. 6.An input perturbation is tiny, yet a correctly implemented calculation changes greatly. Which concept concerns the problem's intrinsic sensitivity?

    Show answer and explanation
    1. Conditioning
    2. Bitwise determinism alone
    3. The linear solver's iteration count alone
    4. Loop vectorization

    Answer: Conditioning

    Conditioning describes how the mathematical answer responds to input changes. Algorithmic stability describes how the numerical method behaves on that problem.

  7. 7.A computed linear-system solution has a small residual. Why is that not enough to assert a small solution error?

    Show answer and explanation
    1. Every small residual proves the matrix is singular
    2. Residuals are measured only before a solver starts
    3. An ill-conditioned system can amplify small residuals
    4. The solution must use the same numeric values as the right-hand side

    Answer: An ill-conditioned system can amplify small residuals

    Residual and forward error are related through the system's conditioning and scaling. A small residual alone does not guarantee a comparably small error in the solution.

  8. 8.A researcher proposes higher precision to fix an intrinsically unidentifiable parameter. What limitation should be explained?

    Show answer and explanation
    1. More arithmetic precision cannot create missing information
    2. Unidentifiability is only a file-storage problem
    3. Every unidentifiable model has zero residual at all parameters
    4. Higher precision always makes the parameter identifiable

    Answer: More arithmetic precision cannot create missing information

    Arithmetic precision addresses some numerical errors. Identifiability concerns whether the data and model distinguish parameter values at all.

  9. 9.A computation needs x satisfying Ax = b for a nonsingular square matrix. Which approach is ordinarily preferable to explicitly constructing A^-1 solely for that product?

    Show answer and explanation
    1. Form every cofactor to create the inverse
    2. Replace the solution with the diagonal of A
    3. Use a suitable linear-system solver
    4. Round A to integers before multiplying

    Answer: Use a suitable linear-system solver

    A suitable solve avoids explicitly constructing an unnecessary inverse and can use factorizations appropriate to the matrix. Check conditioning and solver assumptions as well.

  10. 10.A poorly conditioned design matrix is used for least squares. Why can forming AᵀA be numerically troublesome?

    Show answer and explanation
    1. It always removes every null direction
    2. It squares the matrix's 2-norm condition number when full rank
    3. It guarantees exact coefficients in floating-point arithmetic
    4. It preserves the original condition number exactly

    Answer: It squares the matrix's 2-norm condition number when full rank

    For a full-column-rank matrix, κ₂(AᵀA) = κ₂(A)². QR or SVD-based approaches can avoid this particular worsening of conditioning.

  11. 11.A matrix has very small singular values near the scale of data error. What should a numerical-rank decision consider?

    Show answer and explanation
    1. A tolerance related to scale, precision, and uncertainty
    2. Only whether a singular value prints as exactly zero
    3. A rule that every nonzero singular value is reliable signal
    4. Only whether the matrix has more rows than columns

    Answer: A tolerance related to scale, precision, and uncertainty

    Numerical rank is a scale-sensitive decision. Small directions may be indistinguishable from noise even when arithmetic represents them as nonzero.

  12. 12.Two different parameter vectors produce identical predictions because their difference lies in the design matrix's nullspace. What follows?

    Show answer and explanation
    1. A faster optimizer must select the physically true vector
    2. The data do not uniquely identify those parameter directions
    3. Additional iterations alone guarantee uniqueness
    4. The parameter with more printed digits is correct

    Answer: The data do not uniquely identify those parameter directions

    A null direction leaves the modeled predictions unchanged. Additional information, constraints, or justified regularization is needed to distinguish those parameters.

  13. 13.An iterative linear solver makes slow progress on a badly scaled problem. What is the purpose of an appropriate preconditioner?

    Show answer and explanation
    1. Change the scientific target without documenting it
    2. Guarantee convergence for every matrix and tolerance
    3. Improve the system presented to the iteration
    4. Replace residual checks with wall-clock timing alone

    Answer: Improve the system presented to the iteration

    A preconditioner transforms the iterative problem to improve convergence properties while preserving the intended solution through the defined transformation.

  14. 14.An optimizer treats one parameter near 10^-9 and another near 10^6 using the same unscaled step measure. What may help?

    Show answer and explanation
    1. Round both parameters to one significant digit
    2. Scale variables and interpret steps in meaningful units
    3. Use a single physical unit for unrelated quantities without conversion
    4. Discard the smaller parameter because it is numerically tiny

    Answer: Scale variables and interpret steps in meaningful units

    Scaling can make step sizes and stopping criteria more meaningful across parameters. It does not remove the need to justify bounds, tolerances, and model structure.

  15. 15.A sparse matrix has a million rows but only a few nonzeros per row. Why can converting it to a dense matrix be disastrous?

    Show answer and explanation
    1. The number of physical observations doubles
    2. The mathematical matrix automatically becomes singular
    3. Dense storage guarantees a smaller numerical residual
    4. Storage can grow with the square of the row count

    Answer: Storage can grow with the square of the row count

    Dense storage includes all zero entries. A million-by-million dense array is far larger than a representation proportional to a small number of nonzeros per row.

  16. 16.A proposed factorization assumes a real symmetric positive-definite matrix. What should be checked before using that algorithm?

    Show answer and explanation
    1. Whether the modeled matrix satisfies those properties
    2. Only whether the matrix is square
    3. Whether its determinant prints with many digits
    4. Only whether every entry has a positive sign

    Answer: Whether the modeled matrix satisfies those properties

    A square matrix or positive-looking entries do not establish positive definiteness. Use the required mathematical structure and an appropriate numerical diagnostic.

  17. 17.Two runs return opposite signs for the same normalized real eigenvector of a simple eigenvalue. What comparison is appropriate?

    Show answer and explanation
    1. Choose the vector produced by the faster run as the true one
    2. Compare the represented direction allowing a sign change
    3. Treat the sign flip alone as a wrong eigenspace
    4. Add the two vectors and require their sum to have unit norm

    Answer: Compare the represented direction allowing a sign change

    An eigenvector and its negative represent the same one-dimensional eigenspace. Comparisons should account for such non-uniqueness before reporting a numerical failure.

  18. 18.Two nearly equal computed quantities are subtracted to obtain a much smaller result. What numerical concern should be examined?

    Show answer and explanation
    1. An automatic improvement in input conditioning
    2. A guaranteed increase in the result's significant digits
    3. A proof that both original quantities were exactly represented
    4. Loss of relative accuracy from cancellation

    Answer: Loss of relative accuracy from cancellation

    Small input or rounding errors can dominate the small difference. A mathematically equivalent formulation may retain accuracy better for the relevant regime.

  19. 19.A formula needs exp(x) − 1 for x very close to zero. What is a useful implementation choice?

    Show answer and explanation
    1. Compute exp(x) twice and subtract the results
    2. A numerically designed expm1 operation
    3. Replace the difference by exp(x) for all x
    4. Round exp(x) to one before subtraction

    Answer: A numerically designed expm1 operation

    A dedicated expm1 implementation avoids the avoidable loss from subtracting one from a rounded exponential near zero. Use its documented domain and accuracy behavior.

  20. 20.Computing log(exp(a) + exp(b)) overflows for large finite a and b. Which reformulation is useful?

    Show answer and explanation
    1. Take log(a + b) as though it were algebraically equivalent
    2. Replace overflowing exponential terms with zero
    3. Multiply both exponentials before taking the logarithm
    4. Subtract a shared maximum inside the exponentials

    Answer: Subtract a shared maximum inside the exponentials

    With m = max(a,b), use m + log(exp(a−m) + exp(b−m)). This preserves the mathematical value while controlling exponential range.

  21. 21.A parallel floating-point sum changes slightly when the number of workers changes. What can explain this without implying different input data?

    Show answer and explanation
    1. The sum's exact real value depending on worker identity
    2. Every worker count using a different physical unit
    3. Different addition order and rounding
    4. Floating-point addition being exactly associative

    Answer: Different addition order and rounding

    Floating-point addition is not generally associative. Different reduction trees can change rounding even for the same inputs and mathematical sum.

  22. 22.A dataset has a large mean and tiny spread. Why can mean(x²) − mean(x)² be a poor naive variance calculation?

    Show answer and explanation
    1. It removes every systematic measurement error
    2. It subtracts large nearly equal quantities
    3. It cannot represent any positive data values
    4. It always returns the exact sample variance

    Answer: It subtracts large nearly equal quantities

    Cancellation can destroy useful digits and even create small negative results from rounding. A stable centered or online method is often more appropriate.

  23. 23.What does compensated summation aim to reduce?

    Show answer and explanation
    1. Accumulated rounding error in the sum
    2. Bias in the physical instrument calibration
    3. The number of observations needed for every scientific claim
    4. The sampling uncertainty of the observations

    Answer: Accumulated rounding error in the sum

    Compensation tracks information lost in rounding during summation. It does not correct biased measurements, model error, or statistical uncertainty.

  24. 24.A result changes substantially when arithmetic precision is increased while the model and discretization are fixed. What does this suggest examining?

    Show answer and explanation
    1. A guarantee that the higher-precision answer is physically correct
    2. Only the physical validity of the boundary condition
    3. Sensitivity to rounding and numerical stability
    4. A reason to delete the lower-precision run from the record

    Answer: Sensitivity to rounding and numerical stability

    Precision variation can reveal numerical sensitivity. It is diagnostic evidence, not by itself a validation of the model or a proof of the higher-precision result.

  25. 25.A solver uses a low-precision factorization with high-precision residuals and correction steps. What must the researcher still verify?

    Show answer and explanation
    1. That refinement converges accurately for the actual problem
    2. That low precision makes conditioning irrelevant
    3. That one correction proves exact arithmetic
    4. That the residual calculation can be omitted after initialization

    Answer: That refinement converges accurately for the actual problem

    Mixed-precision refinement can be effective under suitable conditions. Conditioning, factorization quality, residual accuracy, and observed convergence remain important.

  26. 26.A finite-difference derivative becomes less accurate when an already tiny step is reduced further. What tradeoff can explain this?

    Show answer and explanation
    1. The true derivative changes with the chosen step
    2. A smaller step guarantees more significant digits
    3. Truncation error must grow for every smaller step
    4. Rounding/cancellation grows as truncation error shrinks

    Answer: Rounding/cancellation grows as truncation error shrinks

    Derivative approximations balance truncation against rounding and cancellation. The smallest representable perturbation is not automatically the most accurate step.

  27. 27.How can a researcher test an implemented high-dimensional gradient without checking every component separately?

    Show answer and explanation
    1. Require every gradient component to be positive
    2. Compare a directional derivative with a finite-difference directional check
    3. Confirm that an optimizer returned any status code
    4. Compare only the gradient array's shape

    Answer: Compare a directional derivative with a finite-difference directional check

    A directional check compares g·v with a controlled perturbation along v. Use suitable steps and multiple directions, recognizing finite-difference error limits.

  28. 28.Automatic differentiation returns a precise derivative of implemented code. What can still be wrong scientifically?

    Show answer and explanation
    1. Every differentiated branch must be physically smooth
    2. The derivative automatically validates the underlying data
    3. A computed derivative proves all variables use correct units
    4. The implemented objective may not match the intended model

    Answer: The implemented objective may not match the intended model

    Differentiation follows the implemented computation. It does not establish that the objective, units, preprocessing, or scientific assumptions represent the intended question.

  29. 29.A derivative check uses a complex-step perturbation through a routine that takes an absolute value and discards imaginary parts. What is the concern?

    Show answer and explanation
    1. The perturbation automatically fixes all nondifferentiability
    2. The routine may invalidate complex-step assumptions
    3. Complex-step works for every arbitrary real-valued implementation
    4. Discarding the imaginary part improves that derivative estimate

    Answer: The routine may invalidate complex-step assumptions

    Complex-step relies on suitable analytic behavior and propagation of the imaginary perturbation. Nonanalytic or real-only operations can make its result invalid.

  30. 30.An ODE state contains one component near 10^-9 and another near 10^3. What helps define meaningful error control for both?

    Show answer and explanation
    1. Rounding the small state to zero before integration
    2. Using the same display unit without converting the equations
    3. One large absolute tolerance chosen only for the large state
    4. Appropriate component scales and absolute tolerances

    Answer: Appropriate component scales and absolute tolerances

    Relative and absolute error controls must reflect each component's meaningful scale. A tolerance suitable for a large state can swamp a small but important one.

  31. 31.An explicit ODE solver takes extremely small steps to remain stable despite slowly varying output of interest. What should be considered?

    Show answer and explanation
    1. Whether output plotting frequency alone controls internal stability
    2. Whether stiffness calls for a suitable implicit method
    3. Whether increasing the explicit step always preserves stability
    4. Whether every smaller step means the model is invalid

    Answer: Whether stiffness calls for a suitable implicit method

    Stiff dynamics can constrain explicit stability more than desired accuracy. Examine the equations and choose a method appropriate to those dynamics.

  32. 32.A solver's local error estimator is below its requested tolerance at accepted steps. What should not be concluded from that fact alone?

    Show answer and explanation
    1. The requested tolerance influenced accepted steps
    2. Additional convergence checks may still be useful
    3. The final scientific quantity has a proven global error bound equal to that tolerance
    4. The solver used an error-control mechanism

    Answer: The final scientific quantity has a proven global error bound equal to that tolerance

    Local error control is not automatically a bound on accumulated solution error or a derived scientific quantity. Validate the needed output with appropriate numerical studies.

  33. 33.An ODE event detector looks for sign changes between accepted steps. A function crosses zero twice within one step and ends with its original sign. What can happen?

    Show answer and explanation
    1. Every such event is reported as one crossing at the midpoint
    2. Both crossings can be missed
    3. The endpoint signs identify both event times exactly
    4. The solver must reject the step as singular

    Answer: Both crossings can be missed

    Endpoint sign checks cannot reveal all internal crossings. Event structure and suitable step control or another detection approach must be considered.

  34. 34.A model has a known abrupt forcing change at time t*. What integration strategy makes that discontinuity explicit?

    Show answer and explanation
    1. Delete output samples near t* after integration
    2. Integrate to t*, update the forcing, then continue consistently
    3. Assume a smooth interpolant proves the discontinuity is absent
    4. Increase only the plot resolution across t*

    Answer: Integrate to t*, update the forcing, then continue consistently

    Expose known discontinuities to the integration procedure and preserve the correct state/update rules. A smooth output plot does not repair an internally missed forcing change.

  35. 35.Successive mesh spacings are h, h/2, and h/4. Their scalar results are 10.4, 10.1, and 10.025. Assuming one leading error term, what observed order is indicated?

    Show answer and explanation
    1. 3
    2. 4
    3. 1
    4. 2

    Answer: 2

    The successive differences are 0.3 and 0.075, a factor of four. With spacing halved, 2^p = 4, so p = 2 under the stated asymptotic assumption.

  36. 36.A researcher applies a smooth asymptotic error formula to grids that resolve different sharp features. What should be checked?

    Show answer and explanation
    1. Only whether all output files have equal length
    2. That the finest grid must be exact
    3. That a formal method order applies at every resolution automatically
    4. Whether the computations are in a comparable asymptotic regime

    Answer: Whether the computations are in a comparable asymptotic regime

    Observed convergence requires comparable problems and an applicable error regime. Unresolved features or changing model details can invalidate a simple order estimate.

  37. 37.A model should conserve total mass, but its reported mass drifts over time. What is a useful response?

    Show answer and explanation
    1. Trace numerical fluxes, boundaries, sources, and diagnostic definitions
    2. Discard the first and last sample to force agreement
    3. Normalize the final plot without investigating the drift
    4. Assume every drift is harmless floating-point noise

    Answer: Trace numerical fluxes, boundaries, sources, and diagnostic definitions

    A conservation residual is a diagnostic tied to the model's actual balance law. Investigate the complete discrete balance and measurement definition before interpreting the result.

  38. 38.What is the purpose of choosing a smooth target field and deriving forcing that makes it solve the modeled equations?

    Show answer and explanation
    1. Guarantee that the constructed field is physically observed
    2. Test whether the implementation reproduces a known constructed solution
    3. Replace every future convergence study with one plot
    4. Prove that the forcing matches a real experimental system

    Answer: Test whether the implementation reproduces a known constructed solution

    Manufactured solutions provide controlled verification cases, including boundary and source terms. They test implementation behavior rather than establish physical validity.

  39. 39.Two programs agree because both call the same faulty shared kernel. What does their agreement fail to provide?

    Show answer and explanation
    1. A comparison result for the two tested implementations
    2. Evidence that their outputs agreed on the tested case
    3. An observed agreement to compare with another reference
    4. An independent check of that kernel

    Answer: An independent check of that kernel

    Agreement is less informative when implementations share the same failure source. Seek independent derivations, analytic limits, or genuinely different reference methods where feasible.

  40. 40.A model's quantity of interest changes when a far boundary is moved outward while local mesh resolution is fixed. What error source should be investigated?

    Show answer and explanation
    1. A guaranteed loss of all spatial convergence
    2. Only the local floating-point summation order
    3. The output file's decimal formatting alone
    4. Finite-domain or boundary-model effects

    Answer: Finite-domain or boundary-model effects

    Domain truncation and boundary assumptions can influence the interior solution. Separate that sensitivity from local discretization and arithmetic effects.

  41. 41.Both mesh spacing and timestep are reduced together, and the answer improves. What can this study fail to separate?

    Show answer and explanation
    1. Spatial and temporal error contributions
    2. The existence of any numerical result
    3. The nominal number of variables in the model
    4. Whether the output has a physical unit

    Answer: Spatial and temporal error contributions

    Changing both controls at once confounds their separate effects. A suitable study varies or controls them to identify the error relevant to the quantity of interest.

  42. 42.For a fixed explicit diffusion scheme, the stability limit has Δt ≤ C h² with unchanged C. If h is halved, how must the maximum stable timestep scale?

    Show answer and explanation
    1. It becomes one half
    2. It doubles
    3. It becomes one quarter
    4. It becomes four times as large

    Answer: It becomes one quarter

    The bound is proportional to h². Replacing h by h/2 multiplies the allowed timestep by (1/2)² = 1/4.

  43. 43.For independent finite-variance Monte Carlo samples, how many samples are needed to halve the estimator's standard error, all else unchanged?

    Show answer and explanation
    1. Four times as many
    2. Twice as many
    3. Half as many
    4. Sixteen times as many

    Answer: Four times as many

    Standard error scales as 1/√N under these assumptions. Halving it requires √N to double, so N must increase by a factor of four.

  44. 44.A time-series estimator uses many positively correlated observations. Why can treating the raw count as the independent sample size mislead?

    Show answer and explanation
    1. It always overstates uncertainty by exactly two
    2. Every correlated observation must be deleted
    3. It can understate uncertainty
    4. Correlation guarantees a zero estimator bias

    Answer: It can understate uncertainty

    Positive dependence can reduce effective information relative to independent draws. Model the dependence or use an appropriate uncertainty estimate.

  45. 45.Ten measurements are taken from each of eight independently assigned specimens. Which sample structure must the analysis respect?

    Show answer and explanation
    1. There are automatically eighty independent treatment assignments
    2. Measurements are clustered within eight experimental units
    3. Every specimen can be treated as a separate treatment condition
    4. Repeated measurements eliminate specimen-to-specimen variation

    Answer: Measurements are clustered within eight experimental units

    The unit of assignment and dependence structure determine the analysis. Technical repeats do not create additional independent experimental units.

  46. 46.Two simulation policies are compared under matched random scenarios. Why might analyzing paired outcome differences improve precision?

    Show answer and explanation
    1. It proves the policies have identical expected outcomes
    2. It makes every simulated scenario independent of itself
    3. Shared scenario variation can cancel in the difference
    4. It removes all model bias from both policies

    Answer: Shared scenario variation can cancel in the difference

    Common random inputs can reduce variance of a difference when they induce a favorable positive association. Analyze the actual paired differences and verify the variance effect.

  47. 47.Every simulation worker is initialized with the same pseudorandom seed and consumes the same sequence. What is the resulting problem?

    Show answer and explanation
    1. A fixed seed makes uncertainty estimation unnecessary
    2. The runs become more statistically independent
    3. The total number of distinct scenarios must multiply by worker count
    4. Nominal replicates can duplicate each other's randomness

    Answer: Nominal replicates can duplicate each other's randomness

    Identical streams can duplicate scenarios rather than add independent information. Use a justified stream-splitting or spawning strategy with recorded provenance.

  48. 48.A paper records a seed but omits generator algorithm and software versions. What has not been fully specified?

    Show answer and explanation
    1. The sequence and computation needed for exact reruns
    2. The recorded number of requested samples
    3. The integer seed value itself
    4. The nominal random distribution requested by the model

    Answer: The sequence and computation needed for exact reruns

    A seed is interpreted by an algorithm and execution environment. Exact computational reproduction may also depend on versions, scheduling, and numerical libraries.

  49. 49.A stochastic simulation restarts from a checkpoint of its physical state but resets its random generator. What can change?

    Show answer and explanation
    1. The checkpoint's recorded physical variables retroactively
    2. The number of dimensions in the original model
    3. The stated units of the physical state
    4. The future random trajectory relative to an uninterrupted run

    Answer: The future random trajectory relative to an uninterrupted run

    Reproducing an uninterrupted stochastic run generally requires appropriate generator state and stream identity alongside the simulation state and algorithm configuration.

  50. 50.A parameter sweep reports only completed runs, while failures occur more often in one parameter region. What analysis issue arises?

    Show answer and explanation
    1. Successful runs automatically represent the failed region
    2. The optimizer's final status proves no selection effect
    3. The reported sample can be selectively incomplete
    4. Deleting failure logs makes the sample more representative

    Answer: The reported sample can be selectively incomplete

    Failure mechanisms can change which cases remain in the analysis. Preserve failures, characterize their distribution, and explain how they affect the reported claim.

  51. 51.A team tries twenty outcomes and reports only the one with the strongest result as though it had been chosen beforehand. What needs disclosure?

    Show answer and explanation
    1. Only the final outcome's favorable plot limits
    2. The exploratory selection and tested outcome family
    3. Only the programming language used for the final figure
    4. A claim that unreported outcomes never existed

    Answer: The exploratory selection and tested outcome family

    Distinguish planned confirmatory analysis from exploration and account for the search process. Selecting an outcome after inspection changes the evidence's interpretation.

  52. 52.A study performs many hypothesis tests but interprets each nominal threshold as if only one test were attempted. What risk increases?

    Show answer and explanation
    1. The numerical precision of each measurement
    2. False discoveries across the tested family
    3. The guarantee of identical effect sizes
    4. The certainty that every null hypothesis is false

    Answer: False discoveries across the tested family

    Multiple opportunities for rejection change family-level error behavior. Choose an appropriate multiplicity or discovery-control strategy for the stated inferential goal.

  53. 53.Under a specified null model, what does a p-value describe?

    Show answer and explanation
    1. The probability that the null hypothesis itself is true
    2. The fraction of the observed effect caused by random error
    3. The chance the reported effect will replicate exactly
    4. A tail probability for results at least as extreme under that model

    Answer: A tail probability for results at least as extreme under that model

    A p-value is computed conditional on the null model and test definition. It is not a posterior probability of the hypothesis or a direct effect-size measure.

  54. 54.What does 95% frequentist coverage refer to for a valid confidence-interval procedure?

    Show answer and explanation
    1. The proportion of the target value explained by the model
    2. The probability that every future observation lies inside it
    3. Its long-run inclusion rate for the fixed target under repeated sampling
    4. A guarantee that this realized interval contains the target

    Answer: Its long-run inclusion rate for the fixed target under repeated sampling

    Coverage is a property of the interval-generating procedure under its assumptions. It does not make every realized interval correct or define a prediction interval.

  55. 55.A very large study finds a tiny effect with a small p-value. What else is needed before calling the effect important?

    Show answer and explanation
    1. Its magnitude, uncertainty, and practical context
    2. Only another decimal place in the p-value
    3. The assumption that sample size determines the scientific threshold
    4. A claim that statistical significance establishes usefulness

    Answer: Its magnitude, uncertainty, and practical context

    Statistical evidence and practical importance answer different questions. Assess effect size and uncertainty against relevant scientific or operational criteria.

  56. 56.A small underpowered study does not reject a null hypothesis. What claim is unsupported by that result alone?

    Show answer and explanation
    1. That the uncertainty should be reported
    2. That the test did not reach its rejection threshold
    3. That the effect is exactly absent
    4. That more precise evidence could change the conclusion

    Answer: That the effect is exactly absent

    Failure to reject is not proof of no effect. Consider interval width, detectable effects, study design, and an appropriate equivalence question if absence within a margin is the target.

  57. 57.The same specimens are measured before and after an intervention. What basic analysis preserves the pairing for a mean-change estimate?

    Show answer and explanation
    1. Analyze each specimen's change
    2. Treat all before and after values as unrelated assignments
    3. Use only the specimens with the largest observed changes
    4. Sort both lists independently before matching them

    Answer: Analyze each specimen's change

    Within-specimen differences retain the pairing. The design, missing data, dependence, and intervention assignment still determine what inference is justified.

  58. 58.A new algorithm is tested on a larger memory budget and a different dataset than its baseline. What is the main comparison problem?

    Show answer and explanation
    1. Algorithm effects are confounded with changed conditions
    2. The new algorithm must therefore be slower
    3. Only the decimal formatting of the scores matters
    4. Dataset differences cancel whenever the metric has the same name

    Answer: Algorithm effects are confounded with changed conditions

    A fair attribution needs controlled conditions or an explicit analysis of differences. Changing several influential factors prevents isolating the algorithm's contribution.

  59. 59.A model is repeatedly tuned using the same data later reported as an untouched performance test. What has been lost?

    Show answer and explanation
    1. An independent evaluation of the tuned procedure
    2. The ability to fit any model coefficients
    3. The possibility of calculating an arithmetic average
    4. The original number of rows in the dataset

    Answer: An independent evaluation of the tuned procedure

    Repeated selection adapts to evaluation data. Use an appropriate held-out or nested procedure that includes the model-selection process in its evaluation design.

  60. 60.A forecast feature uses a summary calculated with observations occurring after the forecast time. What is the defect?

    Show answer and explanation
    1. It necessarily makes the computation nondeterministic
    2. It changes the forecast horizon's physical units
    3. It uses information unavailable at prediction time
    4. It proves the target has no autocorrelation

    Answer: It uses information unavailable at prediction time

    A forecast evaluation must reproduce information availability at each decision time. Future information can create misleadingly strong retrospective results.

  61. 61.Repeated observations from each subject are randomly split across training and testing, but the claim concerns new subjects. What split better matches that claim?

    Show answer and explanation
    1. Sort observations by recorded measurement value
    2. Put half of every subject's observations into both sides
    3. Reuse the training subjects with a different random row order
    4. Keep subjects separate across evaluation partitions

    Answer: Keep subjects separate across evaluation partitions

    Evaluation partitions should reflect the unit to which generalization is claimed. Shared subject characteristics can otherwise leak across a row-level split.

  62. 62.A bootstrap is used on a dependent time series. Why consider resampling suitable blocks rather than individual observations?

    Show answer and explanation
    1. To retain relevant local dependence in resamples
    2. To remove the need to choose a resampling scheme
    3. To make the observations exactly independent in the original data
    4. To guarantee that every possible dependence is captured

    Answer: To retain relevant local dependence in resamples

    Individual resampling can destroy dependence important to uncertainty. Block choice and assumptions must suit the process and estimator being studied.

  63. 63.An observed dataset contains no examples of a rare failure mode. What can ordinary resampling of those observations fail to reveal?

    Show answer and explanation
    1. The sample size of the original dataset
    2. The values of the observations that were recorded
    3. Unobserved failure behavior absent from the dataset
    4. Whether resamples can contain repeated observations

    Answer: Unobserved failure behavior absent from the dataset

    Resampling observed data cannot invent missing mechanisms or guarantee coverage of unseen tails. State the limitation and seek appropriate additional evidence or modeling.

  64. 64.Measurements are missing more often when the unrecorded value is large. Why can dropping incomplete rows bias the analysis?

    Show answer and explanation
    1. Every missing value is necessarily zero
    2. Completeness depends on the outcome being studied
    3. The missingness pattern affects storage only
    4. The retained rows become a randomized sample automatically

    Answer: Completeness depends on the outcome being studied

    Outcome-related missingness can change the observed distribution. The analysis needs defensible assumptions, sensitivity checks, and a documented handling strategy.

  65. 65.One observation weakens a desired conclusion, but no exclusion rule or measurement fault has been established. What is the defensible response?

    Show answer and explanation
    1. Investigate it and report justified sensitivity analyses
    2. Delete it solely because the conclusion improves
    3. Replace it with the current sample mean without disclosure
    4. Change the exclusion cutoff until the preferred result appears

    Answer: Investigate it and report justified sensitivity analyses

    Use evidence and predefined or transparently justified rules. Sensitivity analysis can show influence without concealing an inconvenient observation.

  66. 66.An importance-sampling estimate is dominated by a few enormous weights. What should be investigated?

    Show answer and explanation
    1. Only the ordering of the stored sample rows
    2. A claim that unequal weights guarantee greater precision
    3. Whether rounding the weights makes the output easier to compare
    4. Proposal coverage and estimator variance

    Answer: Proposal coverage and estimator variance

    Poor proposal overlap can produce unstable high-variance estimates. Examine weight behavior, effective information, and whether the proposal covers the target adequately.

  67. 67.A sampling chain stays in one mode, while different starts remain in different modes. What is a concern?

    Show answer and explanation
    1. Every observed mode has equal probability by definition
    2. The sampler may not explore the target distribution adequately
    3. Agreement of within-mode means proves global mixing
    4. A larger file of the same local trajectory guarantees exploration

    Answer: The sampler may not explore the target distribution adequately

    Local stability is not global exploration. Multiple starts, suitable diagnostics, model structure, and improved sampling strategies may be needed.

  68. 68.A researcher discards the first 10% of a chain and declares convergence solely because that fraction is conventional. What is missing?

    Show answer and explanation
    1. Only a longer text description of the same fixed fraction
    2. A requirement to discard exactly the first half in every model
    3. The statement that any burn-in guarantees independence
    4. Evidence that the retained draws adequately explore the target

    Answer: Evidence that the retained draws adequately explore the target

    A fixed discard proportion does not diagnose convergence or mixing. Use problem-appropriate diagnostics and examine whether the retained sample supports the intended inference.

  69. 69.A chain stores one million highly autocorrelated draws. What should distinguish it from one million independent draws?

    Show answer and explanation
    1. An effective sample-size assessment for relevant quantities
    2. The raw count alone as a universal precision guarantee
    3. Only the precision used when storing each draw
    4. Only the requested chain length before failed runs were removed

    Answer: An effective sample-size assessment for relevant quantities

    Autocorrelation changes estimator uncertainty. Effective sample size depends on the quantity and dependence structure, not just the number of rows saved.

  70. 70.A posterior conclusion changes materially under several defensible prior choices. What should a report do?

    Show answer and explanation
    1. Present only the prior yielding the narrowest favorable interval
    2. Explain that sensitivity and the information supporting each choice
    3. Average the prior names instead of examining the results
    4. Claim the data uniquely determine the conclusion anyway

    Answer: Explain that sensitivity and the information supporting each choice

    Prior sensitivity can reveal limited data information or influential assumptions. Document the alternatives and how they affect the scientific conclusion.

  71. 71.A fitted model has a long nearly flat valley where two parameters trade off while predictions remain similar. What does this suggest examining?

    Show answer and explanation
    1. Practical identifiability and parameter uncertainty
    2. A guarantee that both parameters have zero uncertainty
    3. Whether one parameter's label is shorter
    4. Only whether the optimizer printed a success message

    Answer: Practical identifiability and parameter uncertainty

    A flat or weakly curved direction can leave individual parameters poorly constrained even when predicted outputs fit well. Examine profiles, uncertainty, and data design.

  72. 72.A nonlinear optimizer returns success from one starting point. Which claim is not established without further structure or evidence?

    Show answer and explanation
    1. That its own stopping rule was satisfied
    2. That it found the global optimum
    3. That its objective value can be inspected
    4. That a candidate solution was returned

    Answer: That it found the global optimum

    Many nonlinear methods provide local or stopping-rule results. Global optimality needs suitable mathematical structure, certification, or additional justified search evidence.

  73. 73.A constrained minimum occurs at a parameter's lower bound. Why need the unconstrained gradient not be zero there?

    Show answer and explanation
    1. Feasible descent directions are restricted by the bound
    2. The optimizer can ignore the bound after convergence
    3. Every bound converts the objective into a constant
    4. A nonzero gradient proves every constrained solution invalid

    Answer: Feasible descent directions are restricted by the bound

    Constrained optimality is evaluated over feasible directions and appropriate conditions. A boundary solution need not satisfy the unconstrained zero-gradient rule.

  74. 74.Measurement errors have different known standard deviations. What weighting is natural for ordinary Gaussian least squares under independent errors?

    Show answer and explanation
    1. Replace every residual by its absolute row index
    2. Scale residuals by their corresponding standard deviations
    3. Give the noisiest measurements the largest precision weights
    4. Use only the largest measurement in each group

    Answer: Scale residuals by their corresponding standard deviations

    Dividing a residual by its standard deviation leads to inverse-variance weighting in the squared objective. Correlated errors require the corresponding covariance model.

  75. 75.A researcher introduces a robust residual loss. What remains necessary?

    Show answer and explanation
    1. Assume every large residual is a recording mistake
    2. Claim robustness proves the physical model is correct
    3. Remove all raw measurements after fitting
    4. Justify the loss and examine influential observations

    Answer: Justify the loss and examine influential observations

    Robust losses change how residuals influence estimation. They do not establish why an observation differs or replace investigation of model fit and data quality.

  76. 76.A smooth unconstrained objective has a zero gradient at a candidate, but its Hessian has a negative eigenvalue. What does this show?

    Show answer and explanation
    1. The objective must be constant nearby
    2. The point is not a local minimum under the stated smooth setting
    3. The zero gradient guarantees positive curvature
    4. The point is automatically the global minimum

    Answer: The point is not a local minimum under the stated smooth setting

    A negative-curvature direction permits lower nearby objective values under the usual second-order conditions. Zero gradient alone does not classify a stationary point as a minimum.

  77. 77.An optimization model predicts a large improvement, but the evaluated step improves the true objective very little. What should a trust-region method assess?

    Show answer and explanation
    1. Only whether the parameter vector has the correct length
    2. A rule to enlarge every next step unconditionally
    3. Agreement between predicted and actual reduction
    4. Whether the objective name contains a physical unit

    Answer: Agreement between predicted and actual reduction

    The reduction ratio tests local-model reliability. A poor ratio can motivate rejecting the step or shrinking the trusted region according to the algorithm.

  78. 78.A solver returns its best current point because the iteration limit was reached. How should that result be described?

    Show answer and explanation
    1. An exact solution whenever the final log line is present
    2. A numerical proof that no feasible solution exists
    3. A certified optimum because a point was returned
    4. A terminated run requiring quality assessment, not assumed convergence

    Answer: A terminated run requiring quality assessment, not assumed convergence

    A returned point and a convergence certificate are different. Inspect termination reason, residuals, feasibility, progress, and the scientific tolerance before interpreting the result.

  79. 79.A workload is 80% parallelizable, with the remaining 20% serial. Ignoring overhead, what speedup is predicted on four equal workers?

    Show answer and explanation
    1. 2.5 times
    2. 4 times
    3. 5 times
    4. 3.2 times

    Answer: 2.5 times

    Amdahl's model gives 1/(0.20 + 0.80/4) = 1/0.40 = 2.5. Communication and other overhead can reduce actual speedup.

  80. 80.A new implementation is timed only on its first call, which includes compilation and cache setup. What should the report distinguish?

    Show answer and explanation
    1. Startup cost from the intended steady-state workload
    2. Only the mean of unrelated historical timings
    3. A claim that first-call timing always equals sustained throughput
    4. The assumption that warmup is free for every deployment

    Answer: Startup cost from the intended steady-state workload

    State which costs the target workload includes. Startup and steady-state performance can both matter, but they answer different usage questions.

  81. 81.A GPU computation is asynchronous, and a timer stops immediately after work is enqueued. What may the measurement omit?

    Show answer and explanation
    1. The host timer's unit conversion by definition
    2. A guarantee that all queued work finished
    3. The actual device execution time
    4. Only the input array's element count

    Answer: The actual device execution time

    Enqueue completion is not execution completion. Synchronize or use appropriate device timing so the measurement covers the intended work and transfers.

  82. 82.A faster numerical kernel changes result values. What should be established before claiming a successful optimization?

    Show answer and explanation
    1. That all changed values can be hidden by plot scaling
    2. That a different instruction count proves equivalence
    3. Correctness and acceptable numerical error under the intended contract
    4. Only that the wall-clock measurement decreased

    Answer: Correctness and acceptable numerical error under the intended contract

    An optimization must preserve the required semantics or meet a justified error contract. Speed alone does not establish a scientifically usable implementation.

  83. 83.Two valid parallel runs differ in low-order bits but give stable scientific conclusions. What comparison may be more meaningful than bitwise equality alone?

    Show answer and explanation
    1. Only whether both files contain the same number of rows
    2. The requirement that every differing bit proves a physical change
    3. A justified numerical tolerance tied to the quantity of interest
    4. A tolerance selected after hiding the largest differences

    Answer: A justified numerical tolerance tied to the quantity of interest

    Define acceptable numerical variation in relation to error budgets and conclusions. Bitwise reproducibility is useful when required, but it is a distinct target.

  84. 84.A workflow downloads an input file from a URL that later serves different data. What record improves rerun traceability?

    Show answer and explanation
    1. A screenshot of the browser's download button
    2. Only the URL's current spelling
    3. A retained versioned input and verified content digest
    4. Only the number of times the URL was downloaded

    Answer: A retained versioned input and verified content digest

    A URL is not necessarily an immutable data identity. Retain or reference a stable authorized version and record a digest so changes can be detected.

  85. 85.A container records software dependencies. What should a reproducibility claim still consider?

    Show answer and explanation
    1. That dependency records remove the need for data provenance
    2. Only the image tag, without its versioned contents or run settings
    3. That containers guarantee identical arithmetic on all hardware
    4. Hardware, numerical libraries, configuration, and execution behavior

    Answer: Hardware, numerical libraries, configuration, and execution behavior

    Containers capture useful environment state but do not make every hardware or execution-dependent behavior identical. Record the conditions relevant to the claimed reproducibility level.

  86. 86.A published figure is generated from intermediate tables. What provenance is needed to audit its origin?

    Show answer and explanation
    1. Only the final table after undocumented manual edits
    2. Only the final image and its axis labels
    3. Links from raw inputs through transformations, code versions, and parameters
    4. Only the software environment without input and parameter identities

    Answer: Links from raw inputs through transformations, code versions, and parameters

    A provenance chain makes transformations and assumptions traceable. A final artifact alone does not show which data, code, or parameters produced it.

  87. 87.A cleaning script overwrites the only raw measurement file. What is the core research-workflow problem?

    Show answer and explanation
    1. The script must now produce more decimal digits
    2. All future computations automatically use different units
    3. The cleaned data necessarily become numerically singular
    4. The original evidence and transformation history are lost

    Answer: The original evidence and transformation history are lost

    Preserve raw inputs and versioned transformations so cleaning choices can be audited or revised. Destructive replacement can make errors and exclusions impossible to reconstruct.

  88. 88.Increasing Monte Carlo draws narrows a sampling interval while the physical model omits a known mechanism. What uncertainty remains unaddressed?

    Show answer and explanation
    1. The exact count of simulated draws
    2. The standard error already reported under that model
    3. Model discrepancy
    4. The random estimator's finite-sample variation

    Answer: Model discrepancy

    Sampling more accurately within a model does not correct the model's missing mechanism. Separate numerical, input, sampling, and structural contributions.

  89. 89.An output is strongly nonlinear over the uncertain input range. What should be checked before relying on first-order uncertainty propagation?

    Show answer and explanation
    1. Whether every output can be replaced by its value at the mean
    2. A rule that all nonlinear outputs have zero uncertainty
    3. Only whether the input has at least two printed decimals
    4. Whether the local linear approximation is adequate

    Answer: Whether the local linear approximation is adequate

    First-order propagation is a local approximation. Curvature, boundaries, and asymmetric distributions can require a more appropriate analysis or simulation.

  90. 90.A parameter has a large derivative effect on output but is known very precisely. Why might it contribute little output uncertainty?

    Show answer and explanation
    1. Output uncertainty is determined only by parameter names
    2. Contribution depends on both sensitivity and input uncertainty
    3. A precisely known input must have a zero derivative
    4. A large derivative guarantees the largest uncertainty contribution

    Answer: Contribution depends on both sensitivity and input uncertainty

    Sensitivity describes response to a change; uncertainty also depends on plausible input variation and dependence. A large derivative alone does not rank uncertainty contributions.

  91. 91.A surrogate model is accurate on its training domain but is queried far outside it. What is not established by its in-domain validation?

    Show answer and explanation
    1. Its recorded in-domain test errors
    2. The number of observations used for fitting
    3. The ability to evaluate its implemented formula
    4. Reliability of the extrapolated predictions

    Answer: Reliability of the extrapolated predictions

    A surrogate can return a number outside its evidence domain without that number being reliable. Define the applicable domain and validate or bound new regimes explicitly.

  92. 92.A simulation's initial condition is estimated from noisy measurements. What should a sensitivity study consider?

    Show answer and explanation
    1. A claim that solving the equations removes input uncertainty
    2. Only the discretization step with an exact fixed initial state
    3. Only the solver's printed success status
    4. The effect of plausible initial-state variation on reported outputs

    Answer: The effect of plausible initial-state variation on reported outputs

    Initial conditions are model inputs. Their uncertainty can influence trajectories and quantities of interest even when the numerical integration is accurate.

  93. 93.An unexpected pattern prompts a new analysis after inspecting the data. What is a transparent next step?

    Show answer and explanation
    1. Delete the original analysis plan from the archive
    2. Describe it as a prespecified primary result
    3. Label the analysis exploratory and seek appropriate confirmation
    4. Keep testing until one nominal threshold is crossed without disclosure

    Answer: Label the analysis exploratory and seek appropriate confirmation

    Exploration can generate valuable hypotheses. Separate it from prior confirmatory commitments and make the search and follow-up evidence visible.

  94. 94.Two research teams report normalized errors using different denominators. What is required before comparing their scores?

    Show answer and explanation
    1. Align the metric definitions and reference scales
    2. Rank only by the number of decimal places reported
    3. Average the published percentages without checking units
    4. Assume equal metric names imply equal definitions

    Answer: Align the metric definitions and reference scales

    Normalization changes what a score means. Compare the same quantity, scale, domain, and aggregation before attributing differences to method quality.

  95. 95.A benchmark's updated dataset contains easier cases, and runtime improves. What can be concluded about the algorithm change alone?

    Show answer and explanation
    1. Its speed contribution is not isolated by that comparison
    2. It is proven more numerically accurate
    3. It is proven faster on the original case distribution
    4. The easier cases establish a new universal complexity bound

    Answer: Its speed contribution is not isolated by that comparison

    A changed workload confounds performance attribution. Use controlled comparisons or report the workload shift and its effect explicitly.

  96. 96.An archived workflow reproduces a paper's figures from the same data and code. What has this not established by itself?

    Show answer and explanation
    1. That the reported code path ran in the recorded setup
    2. That an independent experiment confirms the scientific claim
    3. That the archived computation can produce those figures
    4. That the included data were used by that workflow

    Answer: That an independent experiment confirms the scientific claim

    Computational reproduction is valuable but does not by itself provide independent data, validate all measurements, or confirm the underlying physical explanation.

  97. 97.A code bug is found after publication and may affect the main conclusion. What should the research team prioritize?

    Show answer and explanation
    1. Remove the failing input from every archived dataset
    2. Assume the conclusion remains valid because the plots look similar
    3. Assess its impact, preserve versions, and communicate a traceable correction
    4. Silently replace the results without an audit trail

    Answer: Assess its impact, preserve versions, and communicate a traceable correction

    Investigate the affected claims and document corrected analysis through the appropriate scientific process. Preserving the original and revised evidence supports accountability.

  98. 98.A long-running deterministic simulation supports checkpoint restart. What is a useful verification test?

    Show answer and explanation
    1. Compare restarted and uninterrupted runs under defined numerical criteria
    2. Assume successful file parsing proves state completeness
    3. Compare only the final output filenames
    4. Check only that the restart file has a nonzero size

    Answer: Compare restarted and uninterrupted runs under defined numerical criteria

    A restart test checks whether required state and configuration were captured and restored. Define the comparison tolerance or bitwise target and test representative restart boundaries.

  99. 99.A candidate is asked to defend a computational research result. What is the strongest structure for the response?

    Show answer and explanation
    1. Present only the most favorable final score
    2. Replace unsuccessful trials with a narrative of expected success
    3. Connect the claim to methods, evidence, uncertainty, and limits
    4. Treat solver convergence as proof of every scientific assumption

    Answer: Connect the claim to methods, evidence, uncertainty, and limits

    A defensible result makes the reasoning and evidence reviewable, including failed cases, sensitivity, provenance, and the boundaries of the conclusion.

  100. 100.A fixed-sample hypothesis test is rerun after each new observation, stopping at the first favorable nominal p-value. What needs reconsideration?

    Show answer and explanation
    1. A rule that stopping early always preserves the fixed-sample error rate
    2. The procedure's error control under repeated looks
    3. Only the display precision of the first favorable p-value
    4. The assumption that each look creates an independent new study

    Answer: The procedure's error control under repeated looks

    Repeated data-dependent looks can change false-positive behavior. Use a justified sequential design or an appropriate analysis that accounts for the stopping procedure.

  101. 101.A parameter sweep varies one factor around one baseline while holding every other factor fixed. What can this fail to characterize?

    Show answer and explanation
    1. The existence of a reproducible run configuration
    2. The output observed for the recorded baseline
    3. The exact settings that were actually evaluated
    4. Interactions away from that chosen baseline

    Answer: Interactions away from that chosen baseline

    A factor's effect can depend on other factors. A one-factor-at-a-time local sweep does not map joint effects across the design space; use a suitable experimental design.