Loading

Quipoin Menu

Learn • Practice • Grow

node-js / Semantic Versioning
mcq
Direction: Choose the correct option

Q1.

What is semantic versioning?
A. A version control system
B. A versioning scheme with format major.minor.patch
C. A way to name packages
D. A type of license
Direction: Choose the correct option

Q2.

In version `2.5.1`, what does the `5` represent?
A. Build number
B. Major version
C. Patch version
D. Minor version
Direction: Choose the correct option

Q3.

What does the caret `^1.2.3` mean in `package.json`?
A. Any version 1.x.x (compatible with major version 1)
B. Exactly version 1.2.3
C. Any version 1.2.x
D. The latest version
Direction: Choose the correct option

Q4.

What does the tilde `~1.2.3` allow?
A. Minor-level changes (1.x.x)
B. Exactly 1.2.3
C. Patch-level changes (1.2.x)
D. Any version
Direction: Choose the correct option

Q5.

What is the purpose of semantic versioning?
A. To track release dates
B. To make version numbers look nice
C. To communicate the nature of changes (breaking, feature, fix)
D. To increase download count