Coursera Answers

Version Control Coursera Quiz Answers

In this article i am gone to share Coursera Course: Version Control by Meta | Version Control Coursera Quiz Answers with you..

Enroll Link: Introduction to Front-End Development

Version Control Coursera Quiz Answers


 

Week 1 Quiz Answers

Knowledge Check: Introduction to version control Quiz Answer

Question 1)
Which of the following are the benefits of using Version Control? Select all that apply.

  • Identity
  • Revert / Rollback
  • Collaboration

Question 2)
When multiple developers work on the same file, a merge conflict will never occur.

  • True
  • False

Question 3)
Revision History is a record of all changes within a project. It allows you to pinpoint who made the changes, when they were made and what was changed.

  • True
  • False

Question 4)
Which of the following are centralised Version Control Systems? Select all that apply.

  • Concurrent Versions System
  • Mercurial
  • Subversion
  • Git

Question 5)
Which of the following complements Version Control during software development? Select all that apply.

  • Continuous Integration
  • Continuous Delivery
  • Continuous Deployment

 

Visit this link:  Module Quiz: Software collaboration Quiz Answers

 


 

Week 2 Quiz Answers

Self review: Make and change directories and files Quiz Answer

Answer the following questions based on the “Make and change directories and files” exercise you just completed.

Question 1)
How many files exist in the lab directory?

  • 0
  • 1
  • 2
  • 3

Question 2)
How many directories exist in the lab directory?

  • 0
  • 1
  • 2
  • 3

Question 3)
How many directories exist in the dir2 directory?

  • 0
  • 1
  • 2
  • 3

Question 4)
How many files exist in the the dir2 directory?

  • 0
  • 1
  • 2
  • 3

 

Knowledge Check: Unix Commands Quiz Answer

Question 1)
The options you pass to a command are known as _____________.

  • Flags
  • Chips
  • Keys

Question 2)
What command do you use to change directory?

  • pwd
  • ls
  • cd

Question 3)
What command do you use to move files and directories?

  • rm
  • mv
  • cp

Question 4)
To pass the output from one command as the input to another command, what do you use?

  • Pipes
  • Grep

Question 5)
What command do you use to create a directory?

  • pwd
  • cd
  • mkdir

 

Visit this link:  Module Quiz: Command Line Quiz Answers

 


 

Week 3 Quiz Answers

Knowledge Check: Git and GitHub Quiz Answer

Question 1)
In git, the repository on your device is known as a Remote.

  • True
  • False

Question 2)
In git, what is the operation used to initially download a repository?

  • clone
  • push
  • pull

Question 3)
The staged area is used to prepare all your files and changes for committing.

  • True
  • False

Question 4)
Once a file is committed using the git commit operation, it is available on all remote repositories.

  • True
  • False

Question 5)
What of the following commands allow you to inspect your current changes before committing?

  • git log
  • git add
  • git diff

Question 6)
Forking allows you to contribute to another person or organisation’s repository by creating your own copy of the repository.

  • True
  • False

 

Self-review: Create a repository with forking Quiz Answer

Question 1)
In git, the default branch of a repo is called the ____________.

  • Main Branch
  • Secondary Branch
  • Primary Branch
  • Super Branch

Question 2)
What is the request to merge forked changes called?

  • Code Request
  • Pull Request
  • Push Request

Question 3)
When you clone a forked repository, what does origin refer to?

  • The original repository
  • Another developer’s repository
  • The forked repository

 

Visit this link:  Module Quiz: Working with Git Quiz Answers

 


 

Week 4 Quiz Answers

 

Self review: Managing a project in GitHub Quiz Answer

In the previous exercise, Managing a project in Github, you forked the repository, altered the file, used diff to inspect the changes to class.txt. and pushed the file as a commit.

Reflect on the process.

Question 1)
How does the diff command portray changes in a file?

  • Diff only signifies additions.
  • Diff uses a plus (+) sign and a minus sign (-) to signify all changes.
  • Diff only signifies removals.

Question 2)
What command did you use to change active directories?

  • cb
  • ad
  • cd

Question 3)
In what order do you run the commands to commit your file?

  • push, commit
  • commit, push

 

Visit this link:  End-of-course graded assessment Quiz Answers