CS FundamentalsHardIBM · Deloitte pattern
A password field must be 8–20 characters long. Using boundary value analysis on this single range, which set of test lengths is the standard (non-robust) boundary test set?
- A. 7 and 21 only
- B. 8, 14, 20 (min, midpoint, max)
- C. 7, 8, 9, 19, 20, 21 characters (just below min, min, just above min, just below max, max, just above max)
- D. 8 and 20 only
Correct answer: C. 7, 8, 9, 19, 20, 21 characters (just below min, min, just above min, just below max, max, just above max)
Boundary value analysis targets the edges and their immediate neighbours: one value just below the minimum (7, invalid), the minimum itself (8, valid), just above the minimum (9, valid), and symmetrically 19, 20, 21 at the upper boundary — 6 values for one range.
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 use case diagram shows a base use case 'Place Order' with an arrow labelled <<extend>> pointing from 'Apply Discount Code' to 'Place…
- A state machine diagram for an Order has states New, Paid and Shipped, with a transition from New to Paid labelled 'payment confirmed /…
- In a class diagram, Student has an association to Course with multiplicity 0.. on the Student side and 0.. on the Course side…
- An activity diagram shows a fork bar splitting one flow into two concurrent activities (ValidateAddress and ChargeCard), which later…
- A class diagram shows Shape as an abstract class with an italicized name and an italicized method + area(): double, and Circle, Square as…
- In a sequence diagram, a long thin rectangle drawn on top of a lifeline is called an activation bar (execution occurrence). What does its…