Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 subjective questions Version Control & Source Code Management

INT331 — Fundamentals Of Devops 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Why is Version Control important in software development? Explain its key benefits.

  2. Question 2 of 20

    Distinguish between Centralized Version Control Systems (CVCS) and Distributed Version Control Systems (DVCS).

  3. Question 3 of 20

    What is a Git Repository? Explain the difference between a local and a remote repository.

  4. Question 4 of 20

    Explain the basic Git operations: git init, git add, git commit, git push, and git pull with their purpose.

  5. Question 5 of 20

    Describe the three states of a file in Git and the areas they correspond to.

  6. Question 6 of 20

    What is a Commit in Git? Explain the anatomy of a commit and the role of the SHA-1 hash.

  7. Question 7 of 20

    What is Branching in Git? Explain its importance and demonstrate creating and switching branches with commands.

  8. Question 8 of 20

    Explain Merging in Git. Distinguish between a Fast-Forward Merge and a Three-Way Merge.

  9. Question 9 of 20

    What are Merge Conflicts? Describe how they occur and the steps to resolve them.

  10. Question 10 of 20

    What is Tagging in Git? Differentiate between Lightweight and Annotated tags.

  11. Question 11 of 20

    Explain Rebasing in Git. How does it differ from merging, and what is the 'Golden Rule of Rebasing'?

  12. Question 12 of 20

    What is Git Stashing? Explain its use cases and the common stash commands.

  13. Question 13 of 20

    Describe the GitHub Flow workflow. What are its main steps and advantages?

  14. Question 14 of 20

    Explain the Feature Branch Workflow. Compare it with the GitHub Flow.

  15. Question 15 of 20

    What are GitHub Issues? Explain their purpose and key features in project management.

  16. Question 16 of 20

    What is a Pull Request (PR)? Describe its lifecycle and importance in collaborative development.

  17. Question 17 of 20

    What are GitHub Discussions? How do they differ from GitHub Issues?

  18. Question 18 of 20

    Explain the complete Git remote workflow for cloning a repository, making changes, and contributing back, including relevant commands. (10 Marks)

  19. Question 19 of 20

    Compare Merging and Rebasing in detail with examples, advantages, disadvantages, and when to use each. (10 Marks)

  20. Question 20 of 20

    Describe a real-world scenario of resolving a merge conflict step-by-step, including the commands and file modifications involved. (10 Marks)

That's unit 2

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.