3. Scientific Programming

Reproducibility — Quiz

Test your understanding of reproducibility with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

Which pip command lists installed packages with their exact versions for creating a reproducible requirements file?

Question 2

In R, which tool provides a modern alternative to Packrat for managing project-specific package libraries and lockfiles?

Question 3

Which tool generates a fully pinned, platform-specific lockfile from an environment.yml to ensure reproducible Conda environments?

Question 4

Which functional package manager emphasizes declarative, transactional, bit-reproducible builds and can produce container images for HPC environments?

Question 5

In a Dockerfile, why is using an image digest (e.g., ubuntu@sha256:...) preferred over a mutable tag (e.g., ubuntu:latest) for reproducible builds?
Reproducibility Quiz — Computational Science | A-Warded