
Course – Version Control Quiz answers
Week 4: Graded Assessment
Meta Front/Back-End/Android/IOS Developer Professional Certificate quiz answers
Complete Coursera Answers & Study Guide
Click to Enroll in Coursera Meta Front-End Professional Certificate
Graded Assessment INTRODUCTION
This Graded Assessment is a critical part of the Meta Developer Professional Certificate course offered by Coursera. It will evaluate your understanding of topics covered in the course, including core programming principles and best practices. You will be assessed on your ability to think logically, apply coding principles correctly, and build efficient programs that meet business requirements.
By completing this Graded Assessment, you will gain valuable experience in applying key skills learned in the Course to solve real-world problems. This assessment is designed to help you develop a deeper understanding of how these skills can be utilized and demonstrate your knowledge and preparedness for further learning in the field of web development.
Learning Objectives
- Apply the skills and knowledge from this course on Version Control in a practical assessment
SELF REVIEW: MANAGING A PROJECT IN GITHUB
1. How does the diff command portray changes in a file?
- Diff only signifies additions.
- Diff only signifies removals.
- Diff uses a plus (+) sign and a minus sign (-) to signify all changes. (Correct)
Correct! The diff command portrays all changes in a file.
2. What command did you use to change active directories?
- Ad
- Cd (Correct)
- Cb
Correct! You used cd to change active directories.
3. In what order do you run the commands to commit your file?
- push, commit
- commit, push (Correct)
Correct! You run the commands commit and then push.
END-OF-COURSE GRADED ASSESSMENT
1. What is Revision History in Version Control?
- A record of all changes in a project (Correct)
- A record of all bugs in a project
- A record of all users in a project
Correct: That’s correct! Revision History is a record of who, what and when changes were made in a project.
2. In Bash, which of the following commands will create a directory?
- Cd
- Rm
- Mkdir (Correct)
Correct: That’s correct! The mkdir command is the make directory command.
3. In Bash, which of the following commands will print the current working directory?
- Touch
- Pwd (Correct)
- Mv
Correct: Forking is a common practice in open-source projects allowing for contributions from different developers.
4. In Bash, which of the following is used to send the output of one command as the input to another command?
- Pipe (Correct)
- Grep
- Uniq
Correct: That’s correct! A pipe can pass the output of a command as the input to another.
5. Which Git command is used to upload the latest changes to a remote repository?
- git push (Correct)
- git pull
- git clone
Correct: That’s correct! The git push command will push your changes to a remote repository.
6. True or false. Changes must be added to the Git staging area before they are committed.
- True (Correct)
- False
Correct: That’s correct! Changes are first staged using the git add command and the committed using the git commit command.
7. Which of the following Git commands can be used to create a local branch named test? Select all that apply.
- git branch test (Correct)
- git checkout -b test (Correct)
- git push origin test
Correct: That’s correct! The git branch test command will create a local branch named test.
Correct: That’s correct! The git checkout -b test command will create a local branch named test and switch the current branch to the test branch.
8. Which Git command is used to check which files are in the staging area?
- git diff
- git status (Correct)
- git remote -v
Correct: That’s correct! The git status command allows you to check which changed files are added, or not added, to the staging area.
9. In the following differential output, which line was added?
@@ @@
Red
+Blue
-Green
-Yellow
- Red
- Blue
- Green (Correct)
- Yellow
Correct: That’s correct! The Green line was removed, and the Yellow line was added.
10. When cloning a forked repository, what does the origin refer to?
- The original repository
- The forked repository (Correct)
- The local repository
Correct: That’s correct! The origin will always be the remote of the cloned repository.
11. Which of the following is a Distributed Version Control System?
- Git (Correct)
- Subversion
- Concurrent Versions System
Correct: That’s correct! Git is a Distributed Version Control System.
12. In Bash, which of the following commands will list the contents of a directory?
- Cd
- mkdir
- ls (Correct)
Correct: That’s correct! The ls command is the list command.
13. Which Git command is used to create a commit from the changes added to your staging area?
- git commit (Correct)
- git add
- git restore
Correct: That’s correct! The git commit command will commit all your staged changes.
14. True or false. When creating a new branch using the git branch command, that branch is immediately available to other developers.
- true
- false (Correct)
Correct: That’s correct! The branch must be pushed to a remote repository and fetched by other developers for them to access it.
15. Which Git command is used to check changes in a file line by line?
- git status
- git diff (Correct)
- git remote -v
Correct! The default branch is known as the main branch, or, master branch on older repositories.
16. Which of the following is a Centralised Version Control System?
- Subversion (Correct)
- Git
- Mercurial
17. In Bash, which of the following commands will change the working directory?
- Rm
- Mkdir
- Cd (Correct)
Correct: That’s correct! The cd command is the change directory command.
18. In Bash, which of the following commands will move a file?
- pwd
- mv (Correct)
- touch
Correct: That’s correct! The mv command will move a file.
19. Which of the following can be used to search for text in a file?
- Grep (Correct)
- Pipe
- Uniq
Correct: That’s correct! The grep command can be used to search for text in a file.
20. Which Git command is used to download the latest changes to a local repository?
- git pull (Correct)
- git push
- git clone
Correct: That’s correct! The git pull command will download the latest changes to a local repository.
21. True or false. When submitting changes from your forked repository on Github to the original repository, you submit a pull request.
- True (Correct)
- False
Correct: Flags allow you to specify different options available for a command.
22. What is Revision History in Version Control?
- A record of all changes in a project (Correct)
- A record of all bugs in a project
- A record of all users in a project
Correct: That’s correct! Revision History is a record of who, what and when changes were made in a project.
23. In Bash, which of the following commands will create a file?
- pwd
- touch (Correct)
- mv
Correct: That’s correct! The touch command will create an empty file.
24. Which of the following can be used to find all unique text lines in a file?
- Uniq (Correct)
- Grep
- Pipe
Correct: That’s correct! The uniq command can find all uniq text lines in a file.
25. Which Git command is used to switch the current branch to the test branch?
- git branch test
- git checkout test (Correct)
- git push origin test
Correct: That’s correct! The git checkout test command will switch the current branch to the test branch.
26. When copying a repository on Github to your own repository on Github, what is this action commonly known as?
- Merging
- Forking (Correct)
- Cloning
Correct: That’s correct! The git checkout test command will switch the current branch to the test branch.
27. Which Git command is used to initally download a repository to a directory?
- git clone (Correct)
- git pull
- git push
Correct: That’s correct! The git clone command will initially download a repository to a local directory.
28. Which of the following Git commands can be used to check local changes? Select all that apply.
- git diff (Correct)
- git status (Correct)
- git remote -v
Correct: That’s correct! The git diff command allows you to inspect file changes line by line.
Correct: That’s correct! The git status command allows you to check which changed files are added, or not added, to the staging area.
29. Which Git command is used to move local changes to the Git staging area?
- git add (Correct)
- git commit
- git restore
Correct: That’s correct! The git add command will add your local changes to the staging area.
Graded Assessment CONCLUSION
In this module, you will be assessed on the key skills covered in the Course. These include your ability to analyze data and make decisions based on that data, as well as your understanding of marketing principles.
You will also be required to demonstrate your knowledge of digital marketing tools and techniques. To successfully complete this module and earn a Certificate, be sure to join Coursera now!
This Course is shared with other courses. Choose which route to take below!
Subscribe to our site
Get new content delivered directly to your inbox.
Quiztudy Top Courses
Popular in Coursera
- Meta Marketing Analytics Professional Certificate.
- Google Digital Marketing & E-commerce Professional Certificate.
- Google UX Design Professional Certificate.
- Meta Social Media Marketing Professional Certificate
- Google Project Management Professional Certificate
- Meta Front-End Developer Professional Certificate
Liking our content? Then, don’t forget to ad us to your BOOKMARKS so you can find us easily!