CS FundamentalsHardInfosys · Cognizant GenC
A system accepts an age from 18 to 60 inclusive. Using equivalence partitioning, what is the minimum number of test cases to cover all partitions?
- A. 2
- B. 4
- C. 5
- D. 3
Correct answer: D. 3
There are three partitions (below 18, 18 to 60, above 60), and one representative from each is enough.
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 Scrum team completed 24, 30 and 27 story points in its last three sprints. The remaining backlog is 162 points. Using average velocity…
- A developer checks out a specific commit by its hash and makes two new commits, then switches to main without creating a branch. What is…
- In Basic COCOMO (organic mode, Effort = 2.4 x (KLOC)^1.05 person-months), what is the approximate effort for a 10 KLOC project?
- A task has optimistic 4 days, most likely 6 days and pessimistic 14 days. What is the PERT expected duration?
- Which deployment strategy releases a new version to a small subset of users first and widens the rollout gradually while monitoring?
- Why is it advised not to run git rebase on commits already pushed to a shared branch?