🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Tags, Releases and Versioning: questions with answers

15 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What is the key difference between a branch and a tag?
  2. Q2. Which command creates an annotated tag?
  3. Q3. You created tag v1.3.0 and ran git push. Teammates cannot see the tag. Why?
  4. Q4. git describe --tags prints v2.0.0-5-g3f9a1c2. What does the 5 mean?
  5. Q5. A library is at version 3.2.7. You add a new optional parameter; old code still works. What is the next version?
  6. Q6. A library is at 3.2.7. You rename a function that users call. What is the next version?
  7. Q7. What does this print? (code)
  8. Q8. What does ^4.18.2 in package.json allow?
  9. Q9. You checked out tag v1.0.0 to fix a bug in that release. What should you do before committing?
  10. Q10. What does a GitHub release add on top of a Git tag?
  11. Q11. Which command lists only tags starting with v1.?
  12. Q12. How do you delete tag v1.1.0 from GitHub?
  13. Q13. Which version comes first according to semantic versioning?
  14. Q14. What does a version starting with 0, such as 0.7.3, signal?
  15. Q15. Which command lists tags in correct version order, so v1.10.0 comes after v1.9.3?