ISTQB Related Exams
CTAL-TTA Exam
How many test cases need to be designed to achieve 100% decision coverage in the following piece of pseudo-code which applies discount rates to hotel room bookings?
Read (Loyalty_level)
Read (Room_price)
IF (Room_price > 200)
IF (Loyalty_level = Platinum)
Discount_factor = 80%
ELSE
IF (Loyalty_level = Gold)
Discount_factor = 85%
ELSE
Discount_factor = 95%
ENDIF
ENDIF
ELSE
IF (Room_price > 150)
IF (Loyalty_level = Platinum)
Discount_factor = 85%
ELSE
Discount_factor = 95%
ENDIF
ELSE
Discount_factor = 100%
ENDIF
ENDIF
Room_price = Room_price * Discount_factor
IF (Discount_factor < 100%)
Show message "Congratulations - you have received a discount!"
ENDIF
Your team is developing an e-shop application (the SUT) that will use a third-party service to process payments via an API. This third-party payment gateway is itself still under development Which statement contains a pair of benefits that can BOTH be expected from service virtualization in this circumstance’
SELECT ONE OPTION
You are responsible for planning the non-functional testing for a new product. You will be responsible for the performance testing and you have determined that you will need a simulator to complete your work, Which of the following are considerations when purchasing a simulator?
1.Path testing of the tool
2.Time to test the tool
3.cost of hmng specialists
4.Susceptibility to the "probe effect"
5.Method and bme to upgrade and retest the tool as the software changes
6.Control flow analysis