CS FundamentalsHardProduct-company placement
A project uses Conventional Commits with automated semantic versioning. Since v1.4.2 the commits are 'fix(api): handle empty body', 'feat(ui): add dark mode' and 'docs: update README'. What is the next version?
- A. 1.4.3
- B. 2.0.0
- C. 1.5.0
- D. 1.5.1
Correct answer: C. 1.5.0
A feat bumps the minor version and resets the patch; fix alone would only bump the patch, and docs changes trigger nothing. Only a commit marked with ! or a BREAKING CHANGE footer would give 2.0.0.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team lead says: 'We know this shortcut will hurt later, but we must ship for the demo and will pay it back next sprint.' In Fowler's…
- A bank must replace a large legacy system without a risky big-bang cut-over. It puts a routing façade in front of it, moves one capability…
- A service calls three downstream APIs using one shared pool of 200 threads. When one API becomes very slow, all 200 threads end up waiting…
- In STRIDE threat modelling, a user denies having approved a large transfer, and the system cannot prove otherwise. Which threat is this…
- A forum shows user comments, and an attacker posts a comment containing a script tag that runs in other users' browsers. Which is the…
- A popular product page is cached with a fixed 60-second TTL. Every minute, as the entry expires, thousands of requests miss at once and…