ISTQB
ISTQB-CTFL · Question #122
Consider the following code: int premium=2500; if (age<30) { premium = premium +1500: } Which options suits for a correct combination of Boundary value and expected result. Assume first number as…
Sign in or unlock ISTQB-CTFL to reveal the answer and full explanation for question #122. The question stem and answer options stay visible for context.
Test Techniques
Question
Consider the following code:
int premium=2500; if (age<30) { premium = premium +1500:
} Which options suits for a correct combination of Boundary value and expected result. Assume first number as boundary followed by expected result.
Options
- A29, 1500
- B
- 4000
- C29, 2500
- D30, 1500
Unlock ISTQB-CTFL to see the answer
You've previewed enough free ISTQB-CTFL questions. Unlock ISTQB-CTFL for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#boundary value analysis#expected results#condition logic#premium calculation