Version Control with Git Quiz Answer Module 2

 Version Control with Git


Version Control with Git Quiz Answer Module 2

In this article i am gone to share Coursera Course: Version Control with Git Module 2 Quiz Answer with you..

Module 2 Assessment

Q1) In Git, what is modeled as a directed acyclic graph ?

  • The commit history.


Q2) How are Git commits connected ?

  • A commit references its parent(s).


Q3) What is a Git ID ?

  • The name of a Git object.


Q4) If a large file changes by one character, what would you expect to happen to its corresponding SHA-1 value ?

  • It would change drastically.


Q5) What do branch labels point to?

  • The most recent commit of a branch.


Q6) How many HEAD references are in a local repository?

  • One.


Q7) Which one of these statements is correct?

  • A tag always points to a specific commit.


Q8) What happens when a branch is created?

  • A branch label is created.


Q9)Which one of these statements is correct?

  • Checkout updates the working tree and HEAD reference.


Q10)What does a detached HEAD mean ?

  • The HEAD reference points directly to a commit SHA-1.


Q11)What does "deleting a branch" immediately do ?

  • Deletes a branch label.


Q12)Which one of the following statements is true ?

  • Merging combines the work of branches.


Q13) Which one of the following statements about fast-forward merges is true ?

  • The merge moves a branch label.


Q14) If Git informs you that a fast-forward merge is not possible, which one of these statements is most likely to be true ?

  • A commit was made on the base branch after the topic branch was created.


Q15) Which one of these statements about a merge involving a merge commit is true ?

  • Git places the result of the merge into a new commit.



_____________________________________________________________

Version Control with Git 




Post a Comment

0 Comments