Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 26 pages
Exam (elaborations)

ITSW 2110 (D197) Version Control Latest OA Guide 2025.

Document preview thumbnail
Preview 3 out of 26 pages

ITSW 2110 (D197) Version Control Latest OA Guide 2025.ITSW 2110 (D197) Version Control Latest OA Guide 2025.ITSW 2110 (D197) Version Control Latest OA Guide 2025.

Content preview

D197 ITSW 2110

Version Control

3.0 Credits

Objective Assessment Review (Qns &
Ans)

2025




©2025

, Multiple Choice Questions

Question 1:
A distributed development team uses Git for managing their codebase.
To ensure the integrity of every change, Git generates a unique identifier
for each commit based on its content. Which cryptographic algorithm
does Git traditionally use for this purpose?
A. MD5
B. SHA-1
C. SHA-256
D. CRC32

Correct ANS: B. SHA-1

Rationale:
Git computes a SHA-1 hash from the contents of every commit, along
with metadata such as the commit message, timestamp, and parent
hashes. This cryptographic hash ensures data integrity by detecting any
modifications to the commit content.

---

Question 2:
A data analytics project requires integrating several experimental
features into a stable main branch. The team decides to create isolated
branches for each feature and then merge them into the main branch
once complete. Which branching model does this approach best
represent?
A. Trunk-based development
B. GitFlow branching model
C. Forking workflow
D. Patch-based development

Correct ANS: B. GitFlow branching model
©2025

, Rationale:
The GitFlow branching model is designed for parallel feature
development by isolating work in separate feature branches. It provides
a clear structure for integrating new development with a stable main
branch while also supporting release and hotfix branches.

---

Question 3:
During a code review process, a developer needs to combine multiple
related commits into one before merging into the main branch, thereby
keeping the commit history concise. Which advanced Git technique best
accomplishes this?
A. Fast-forward merge
B. Interactive rebase with squash
C. Octopus merge
D. Cherry-pick

Correct ANS: B. Interactive rebase with squash

Rationale:
Interactive rebasing (using the `-i` flag) allows developers to re-order,
edit, and squash commits together. Squash merging consolidates
multiple related commits into one atomic commit, leading to a cleaner
and more understandable history.

---

Question 4:
A developer accidentally committed sensitive credentials to a public
repository. To remove these credentials from the entire history, which
advanced Git tool is preferred for rewriting repository history?
A. Git stash
B. Git revert
©2025

Document information

Uploaded on
May 9, 2025
Number of pages
26
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
testbank11
3.5
(4)
Sold
39
Followers
7
Items
4461
Last sold
2 months ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions