Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CTAL-TTA All Questions
Exam CTAL-TTA All Questions

View all questions & answers for the CTAL-TTA exam

ISTQB Advance Level CTAL-TTA Question # 9 Topic 1 Discussion

CTAL-TTA Exam Topic 1 Question 9 Discussion:
Question #: 9
Topic #: 1

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


A.

40%


B.

60%


C.

70%


D.

80%


Get Premium CTAL-TTA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.