Subdomain 1.1: Version control fundamentals
1.What is the primary purpose of a version control system?
- A.To generate executable programs from source code
- B.To record modifications to project files over time
- C.To configure server environments automatically
- D.To organize user stories and tasks in a project
Show answer & explanation
Correct answer: B — To record modifications to project files over time
- A. Incorrect. Generating executable programs from source code is the role of a compiler or build system, not a version control system. VCS tools track changes to files rather than transforming code into runnable binaries.
- B. Correct. A version control system's primary purpose is to track and record changes to files over time, enabling collaboration, history review, comparison of versions, and rollback to previous states if needed.
- C. Incorrect. Configuring server environments automatically is typically handled by infrastructure-as-code or configuration management tools. While version control may store configuration files, it does not perform deployment or setup itself.
- D. Incorrect. Organizing user stories and tasks is the function of project management tools (e.g., Jira, GitHub Projects). Version control can link to these items, but its primary purpose remains tracking file changes over time.