Question

In: Computer Science

What is a version control system (VCS)? (You must select ALL the correct answers.) VCS integrates...

What is a version control system (VCS)? (You must select ALL the correct answers.)

VCS integrates work done by different team members at the same time.

VCS enables multiple developers to work on a single project at the same time.

VCS allow you to keep track of your files and modifications to those files in a repository.

VCS gives access to historical versions of your project.

Solutions

Expert Solution

All the above mentioned options are correct.

EXPLANATION

Version Control System is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples in this book, you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer.

If you are a graphic or web designer and want to keep every version of an image or layout (which you would most certainly want to), a Version Control System (VCS) is a very wise thing to use. It allows you to revert selected files back to a previous state, revert the entire project back to a previous state, compare changes over time, see who last modified something that might be causing a problem, who introduced an issue and when, and more. Using a VCS also generally means that if you screw things up or lose files, you can easily recover. In addition, you get all this for very little overhead.

Use of Version Control System:

1) A repository: It can be thought as a database of changes. It contains all the edits and historical versions (snapshots) of the project.

2)Copy of Work (sometimes called as checkout): It is the personal copy of all the files in a project. You can edit to this copy, without affecting the work of others and you can finally commit your changes to a repository when you are done making your changes.

Types of Version Control Systems:

1)Local Version Control Systems

2)Centralized Version Control Systems

3)Distributed Version Control Systems

Local Version Control Systems :

Many people’s version-control method of choice is to copy files into another directory (perhaps a time-stamped directory, if they’re clever). This approach is very common because it is so simple, but it is also incredibly error prone. It is easy to forget which directory you’re in and accidentally write to the wrong file or copy over files you don’t mean to.

To deal with this issue, programmers long ago developed local VCSs that had a simple database that kept all the changes to files under revision control.

Centralized Version Control Systems

The next major issue that people encounter is that they need to collaborate with developers on other systems. To deal with this problem, Centralized Version Control Systems (CVCSs) were developed. These systems (such as CVS, Subversion, and Perforce) have a single server that contains all the versioned files, and a number of clients that check out files from that central place. For many years, this has been the standard for version control.

This setup offers many advantages, especially over local VCSs. For example, everyone knows to a certain degree what everyone else on the project is doing. Administrators have fine-grained control over who can do what, and it’s far easier to administer a CVCS than it is to deal with local databases on every client.

However, this setup also has some serious downsides. The most obvious is the single point of failure that the centralized server represents. If that server goes down for an hour, then during that hour nobody can collaborate at all or save versioned changes to anything they’re working on. If the hard disk the central database is on becomes corrupted, and proper backups haven’t been kept, you lose absolutely everything — the entire history of the project except whatever single snapshots people happen to have on their local machines. Local VCS systems suffer from this same problem — whenever you have the entire history of the project in a single place, you risk losing everything.

Distributed Version Control Systems

This is where Distributed Version Control Systems (DVCSs) step in. In a DVCS (such as Git, Mercurial, Bazaar or Darcs), clients don’t just check out the latest snapshot of the files; rather, they fully mirror the repository, including its full history. Thus, if any server dies, and these systems were collaborating via that server, any of the client repositories can be copied back up to the server to restore it. Every clone is really a full backup of all the data.

Furthermore, many of these systems deal pretty well with having several remote repositories they can work with, so you can collaborate with different groups of people in different ways simultaneously within the same project. This allows you to set up several types of workflows that aren’t possible in centralized systems, such as hierarchical models.

So overall as explained in the various versions of Version Control System we can say that all the mentioned options in the question are correct. VCS integrates work done by different team members at the same time, it enables multiple developers to work on a single project at the same time,it allows you to keep track of your files and modifications to those files in a repository. It also gives access to historical versions of your project.


Related Solutions

Which of the following are examples of command-and-control regulation? Select two correct answers. Select all that...
Which of the following are examples of command-and-control regulation? Select two correct answers. Select all that apply: a) laws that require the use of filters in automobile tailpipes and smokestacks b) laws that specify the amount of pollution each producer is allowed to emit c) marketable pollution permits d) pollution charges per unit of pollution emitted.
Select all correct answers. Financial Institutions have informational advantages because: They monitor and control borrowers. Possess...
Select all correct answers. Financial Institutions have informational advantages because: They monitor and control borrowers. Possess expertise and economies of scale. Have no incentives to invest in information.
What kind of conditions can lead to stagflation? Select the two correct answers below. Select all...
What kind of conditions can lead to stagflation? Select the two correct answers below. Select all that apply: Workers have just received wage increases that reflect expectations of future inflation. A few months later, however, prices rise faster than expected. A military conflict results in a sharp and unexpected rise in the cost of oil. Prices tend to remain sticky even though wages have risen. Over the course of a year, unemployment falls at a rate directly proportional to the...
Which of the following is a characteristic of the chi-square distribution? Select all correct answers. Select...
Which of the following is a characteristic of the chi-square distribution? Select all correct answers. Select all that apply: The total area under the χ2-curve is equal to the degrees of freedom, df. The mean of the chi-square distribution is located to the left of the peak. The chi-square curve is skewed to the right. The chi-square curve is skewed to the left.
Select all the correct answers: A) One weakness of the regular payback method is that it...
Select all the correct answers: A) One weakness of the regular payback method is that it ignores what happens after the initial cost is recovered. The discounted payback method resolves this issue B) The crossover rate is the cost of capital in which two projects have the same NPV C) A firm has a WACC of 15%. A project requires an initial cash flow of $5,000, then it will pay $1,000 for 10 years. The discounted payback of this project...
Which metabolic process occur in an autotroph, such as a plant? Select all correct answers A....
Which metabolic process occur in an autotroph, such as a plant? Select all correct answers A. Cellular resipration B. Protein synthesis C. DNA replication D. Photosynthesis
Please select all of the correct answers in this question to test your understanding of Type...
Please select all of the correct answers in this question to test your understanding of Type 4 hypersensitivity. Type 4 hypersensitivity is also referred to as delayed hypersensitivity. The severity of the reaction depends upon whether IgG, IgM, or IgE are involved. Type 4 hypersensitivity is mediated by T-cells and the effector cells that they recruit. Type 4 hypersensitivity is most appropriately treated with antihistamines. Type 4 hypersensitivity may result from mismatched blood transfusions.
Which of the following are fixed costs for a business? Select all correct answers Group of...
Which of the following are fixed costs for a business? Select all correct answers Group of answer choices Utilities Loan Payments Property Taxes Production Material Equipment Rental Commissions Ingredients in a cake Transaction Fees
For this question you must give all answers rounded correct to exactly 3 significant figures (instead...
For this question you must give all answers rounded correct to exactly 3 significant figures (instead of decimal places). Recall that leading zeros are not significant (for example 0.0011 has 4 decimal places, but only 2 significant figures). To obtain more decimal places in the numbers Matlab gives you, type "format short g" first. The article "The Incorporation of Uranium and Silver by Hydrothermally Synthesized Galena'" (Econ. Geology, 1964: 1003-1024) reports on the determination of silver content of galena crystals...
For this question you must give all answers rounded correct to exactly 3 significant figures (instead...
For this question you must give all answers rounded correct to exactly 3 significant figures (instead of decimal places). Recall that leading zeros are not significant (for example 0.0011 has 4 decimal places, but only 2 significant figures). To obtain more decimal places in the numbers Matlab gives you, type "format short g" first. The article "The Incorporation of Uranium and Silver by Hydrothermally Synthesized Galena'" (Econ. Geology, 1964: 1003-1024) reports on the determination of silver content of galena crystals...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT