ISTQB Related Exams
CTAL-TTA Exam
Consider the pseudo code for the Answer program:

Which of the following statements about the Answer program BEST describes the control flow anomalies to be found in the program?
Consider the code fragment provided below:

The comment frequency of the code fragment is 13%.
To which non-functional quality characteristic does a good level of comment frequency especially contribute?
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 is the minimum quantity of test cases that will give 100% statement coverage?