|
| 1 | +Module 1 Assessment |
| 2 | +TOTAL POINTS 17 |
| 3 | + |
| 4 | +1. Which one of these statements about Git is true?:- |
| 5 | +Git helps manage the history of the project. |
| 6 | + |
| 7 | +2. Which one of these statements about branches is true? |
| 8 | +The default branch is named "master". |
| 9 | + |
| 10 | +3. What is a request to merge your branch into another branch called?:- |
| 11 | +Pull request |
| 12 | + |
| 13 | +4. If a remote repository is offline, which one of the following is true?:- |
| 14 | +You can continue to work with the local repository. |
| 15 | + |
| 16 | +5. Which one of the following is true?:- |
| 17 | +Git implements distributed version control. |
| 18 | + |
| 19 | +## Test Next time |
| 20 | +6. Which one of these statements about commits is true?:- |
| 21 | +A commit is a snapshot of the project. |
| 22 | + |
| 23 | +7. Which location contains the list of files that will be included in the next commit?:- |
| 24 | +Staging area |
| 25 | + |
| 26 | +8. Which location contains the commit history of a project?:- |
| 27 | +Remote repository |
| 28 | + |
| 29 | +9. When a file is first placed in the working tree, what is its status?:- |
| 30 | +Untracked |
| 31 | + |
| 32 | +10. What must you do to add a new file to the next commit? |
| 33 | +Add the file to the staging area. |
| 34 | + |
| 35 | +11. If you create a local repository in a folder with existing files, what will be the status of the files?:- |
| 36 | +Untracked |
| 37 | + |
| 38 | +12. Immediately after you commit, where is the commit located?:- |
| 39 | +Local repository |
| 40 | + |
| 41 | +13. Which one of these statements about remote repositories is true?:- |
| 42 | +By convention, remote repository names end in ".git". |
| 43 | + |
| 44 | +14. What is a local copy of a remote repository called?:- |
| 45 | +Clone |
| 46 | + |
| 47 | +15. After you clone a repository, which one of the following is true?:- |
| 48 | +The remote repository information is available in the local repository. |
| 49 | + |
| 50 | +16. What is origin?:- |
| 51 | +An alias for the remote repository's URL. |
| 52 | + |
| 53 | + |
| 54 | +17. What must you do to add a local commit to the remote repository?:- |
| 55 | +Push |
| 56 | + |
| 57 | + |
0 commit comments