End-of-course graded assessment :Version Control (Meta React Native Specialization) Answers 2025
1. What is Revision History in Version Control?
✔️ A record of all changes in a project
❌ A record of all bugs in a project
❌ A record of all users in a project
2. Which command lists directory contents?
✔️ ls
❌ cd
❌ mkdir
3. Which command creates a file?
✔️ touch
❌ pwd
❌ mv
4. Find all unique text lines in a file:
✔️ uniq
❌ grep
❌ pipe
5. Git command to download latest changes:
✔️ git pull
❌ git push
❌ git clone
6. Changes must be added to staging before commit:
✔️ true
❌ false
7. Create a local branch named “test” (Select all):
✔️ git branch test
✔️ git checkout -b test
❌ git push origin test
8. Command to check which files are in the staging area:
✔️ git status
❌ git diff
❌ git remote -v
9. Which line was added?
✔️ Blue
❌ Red
❌ Green
❌ Yellow
10. Submitting changes from a fork to original repo = pull request:
✔️ true
❌ false
📘 Summary Table
| Q | Correct Answer |
|---|---|
| 1 | A record of all changes in a project |
| 2 | ls |
| 3 | touch |
| 4 | uniq |
| 5 | git pull |
| 6 | true |
| 7 | git branch test, git checkout -b test |
| 8 | git status |
| 9 | Blue |
| 10 | true |