End-of-course graded assessment :Version Control (Meta Front-End Developer Professional Certificate) Answers 2025
1. What is Revision History in Version Control?
✔️ A record of all changes in a project
❌ A record of all bugs
❌ A record of all users
2. Which Bash command lists directory contents?
✔️ ls
❌ cd
❌ mkdir
3. Which Bash command creates a file?
✔️ touch
❌ pwd
❌ mv
4. Which command finds all unique lines in a file?
✔️ uniq
❌ grep
❌ pipe
5. Git command to download latest changes?
✔️ git pull
❌ git push
❌ git clone
6. Must changes be added to staging before committing?
✔️ true
❌ false
7. Create a local branch named test (Select all that apply)
✔️ git branch test
✔️ git checkout -b test
❌ git push origin test (this pushes a branch; does NOT create it locally first)
8. Command to check what’s in the staging area?
✔️ git status
❌ git diff
❌ git remote -v
9. Which line was added?
Diff snippet:
Red
+Blue
-Green
-Yellow
✔️ Blue
❌ Red
❌ Green
❌ Yellow
10. Submitting changes from a fork to the original repo is done via a pull request
✔️ true
❌ false
📊 Summary Table
| Q# | Correct Answer |
|---|---|
| 1 | A record of all changes |
| 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 |