For the code fragment given below, which answer

correctl

Loading

Practice ISTQB Foundation Level Q&A – For the code fragment given below, which answer

correctly represents minimum tests required for statement and branch

coverage respectively?

Discount rate=1;

Fare = 1000;

If ((person == “senior citizen”) and (“travel month = January”))

Bonuspoints = 100+Bonuspoints

If (class==”first”)

discountRate = .5;

Fare = fare * discountRate;



In a flight reservation system, the number

of available

Loading

Practice ISTQB Foundation Level Q&A – In a flight reservation system, the number

of available seats in each plane model is an input. A plane may have any

positive number of available seats, up to the given capacity of the

plane. Using Boundary Value analysis, a list of available – seat values

were generated. Which of the following lists is correct?