ISTQB Related Exams
CTAL-TTA Exam
The stakeholders in a new system want its mean time between failure to be three months or longer, with a mean time to repair the system of ten minutes or less when it does fail. When planning and specifying reliability tests to be performed before release, which ONE of the following is a factor that must be considered?
Given the following pseudocode:
Program tax check
Integer: tax_rate
real: tax%
BEGIN
tax% := 0
GET (tax_rate)
WHILE tax_rate > 0 loop
IF tax_rate > 3 THEN
tax_rate := 3
ENDIF
tax% := tax% + (tax_rate / 10)
tax_rate := tax_rate - 1
ENDLOOP
IF tax% > 0.6 THEN
print ("tax rate is high")
ELSEIF tax% < 0.1 THEN
print ("tax rate is zero")
ELSE
print ("tax rate is low")
ENDIF
END tax check
If control flow analysis is performed on the pseudocode, which of the following results is MOST likely?
Consider the simplified logic below for crediting money to a bank account.
Receive money and account number to be credited
IF account number is valid
IF customer account is active
Store current account balance as oldBalance
Credit money to account
IF oldBalance < zero
IF balance now >= zero
Set message "Overdraft cleared"
ELSE
Set message "A/c overdrawn"
ENDIF
ELSE
Set message = "You have more money"
ENDIF
IF account holder is VIP customer
Send message by email to customer
ENDIF
ELSE
Set message "A/c inactive"
Send message by email to supervisor
ENDIF
ELSE
Add 1 to count of invalid inputs
ENDIF
What percentage of decision testing coverage has been achieved by the following suite of test cases?
Test Case A - Account number valid, account is active, oldBalance = -100, balance now = +200, not a VIP customer
Test Case B - Account number valid, account is active, oldBalance = -100, balance now = -50, is a VIP customer